Home | History | Annotate | Download | only in logging

Lines Matching defs:LogRecord

30            'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler',
230 class LogRecord(object):
232 A LogRecord instance represents an event being logged.
234 LogRecord instances are created every time something is logged. They
308 return '<LogRecord: %s, %s, %s, %s, "%s">'%(self.name, self.levelno,
313 Return the message for this LogRecord.
315 Return the message for this LogRecord after merging any user-supplied
333 Make a LogRecord whose attributes are defined by the specified dictionary,
335 a socket connection (which is sent as a dictionary) into a LogRecord
338 rv = LogRecord(None, None, "", 0, "", (), None, None)
348 Formatter instances are used to convert a LogRecord to text.
350 Formatters need to know how a LogRecord is constructed. They are
351 responsible for converting a LogRecord to (usually) a string which can
357 knowledge of the LogRecord attributes - e.g. the default value mentioned
359 formatted into a LogRecord's message attribute. Currently, the useful
360 attributes in a LogRecord are described by:
374 %(created)f Time when the LogRecord was created (time.time()
376 %(asctime)s Textual time when the LogRecord was created
378 %(relativeCreated)d Time in milliseconds when the LogRecord was created,
406 Return the creation time of the specified LogRecord as formatted text.
459 using LogRecord.getMessage(). If the formatting string uses the
1241 rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
1245 raise KeyError("Attempt to overwrite %r in LogRecord" % key)
1251 Low-level logging routine which creates a LogRecord and then calls