Package conary :: Package lib :: Module logger
[hide private]
[frames] | no frames]

Module logger

source code

Classes [hide private]
  Lexer
  LogWriter
  XmlLogWriter
  FileLogWriter
  StreamLogWriter
  SubscriptionLogWriter
  Logger
  _ChildLogger
Functions [hide private]
 
callable(func) source code
 
makeRecord(d) source code
 
getTime()
Return ISO8601 compliant time string.
source code
 
openPath(path) source code
 
startLog(path, xmlPath, subscribeLogPath, withStdin=True)
Start the log.
source code
 
escapeMessage(msg) source code
 
unescapeMessage(msg) source code
Variables [hide private]
  BUFFER = 4194304
  LINEBREAKS = ('\r', '\n')
  CARRIAGE_RETURN = 3
  CLOSE = 5
  COMMAND = 4
  FREETEXT = 1
  MARKER = 0
  NEWLINE = 2
Function Details [hide private]

getTime()

source code 

Return ISO8601 compliant time string.

Return a formatted time string which is ISO8601 compliant. Time is expressed in UTC

startLog(path, xmlPath, subscribeLogPath, withStdin=True)

source code 
Start the log. Equivalent to Logger(path).startLog()