webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
compat_logging.LogRecord Class Reference

Public Member Functions

def __init__ (self, name, level, pathname, lineno, msg, args, exc_info)
 
def __str__ (self)
 
def getMessage (self)
 

Public Attributes

 name
 
 msg
 
 args
 
 levelname
 
 levelno
 
 pathname
 
 filename
 
 module
 
 exc_info
 
 lineno
 
 created
 
 msecs
 
 relativeCreated
 
 thread
 
 process
 

Detailed Description

A LogRecord instance represents an event being logged.

LogRecord instances are created every time something is logged. They
contain all the information pertinent to the event being logged. The
main information passed in is in msg and args, which are combined
using str(msg) % args to create the message field of the record. The
record also includes information such as when the record was created,
the source line where the logging call was made, and any exception
information to be logged.

Constructor & Destructor Documentation

◆ __init__()

def compat_logging.LogRecord.__init__ (   self,
  name,
  level,
  pathname,
  lineno,
  msg,
  args,
  exc_info 
)
Initialize a logging record with interesting information.

Member Function Documentation

◆ __str__()

def compat_logging.LogRecord.__str__ (   self)

◆ getMessage()

def compat_logging.LogRecord.getMessage (   self)
Return the message for this LogRecord.

Return the message for this LogRecord after merging any user-supplied
arguments with the message.

Member Data Documentation

◆ args

compat_logging.LogRecord.args

◆ created

compat_logging.LogRecord.created

◆ exc_info

compat_logging.LogRecord.exc_info

◆ filename

compat_logging.LogRecord.filename

◆ levelname

compat_logging.LogRecord.levelname

◆ levelno

compat_logging.LogRecord.levelno

◆ lineno

compat_logging.LogRecord.lineno

◆ module

compat_logging.LogRecord.module

◆ msecs

compat_logging.LogRecord.msecs

◆ msg

compat_logging.LogRecord.msg

◆ name

compat_logging.LogRecord.name

◆ pathname

compat_logging.LogRecord.pathname

◆ process

compat_logging.LogRecord.process

◆ relativeCreated

compat_logging.LogRecord.relativeCreated

◆ thread

compat_logging.LogRecord.thread

The documentation for this class was generated from the following file: