Note
See the Overview for more information on the parameters specified here.
Start logging to the specified file at the specified level.
Start logging to the specified file at the specified level, but only for the current Python thread.
Start logging to stderr at the specified level.
Start logging to stdout at the specified level.
Stop logging.
Stop logging for the given Python thread.
Log a message at the CRITICAL level. The format and arguments are the standard Python format.
Log a message at the DEBUG level. The format and arguments are the standard Python format.
Log a message at the ERROR level. The format and arguments are the standard Python format.
Log a message at the INFO level. The format and arguments are the standard Python format.
Log a message at the specified level. The format and arguments are the standard Python format.
Log a message regardless of the current level. The format and arguments are the standard Python format.
Log a message at the WARNING level. The format and arguments are the standard Python format.
Log the exception just raised. The value is either a string (in which case the exception will be retrieved from the thread state) or the value is a configured exception (in which case it will be used directly). Not specifying either will use the information specified in SetExceptionInfo() instead and if that is not specified default values will be used.
Define the behavior that specifies how exceptions are logged. The first parameter specifies the base class of exceptions that are logged in a special way and once specified does not need to be specified in the method LogException(). The second parameter specifies a method to call to build an instance of the base class if the exception is not already an instance of that class. The last parameter specifies the message that is logged immediately prior to logging the exception.
Return the encoding currently in place for logging Unicode objects.
Return the file object to which logging is currently taking place.
Return the name of the file to which logging is currently taking place.
Return the current logging level.
Return the current logging state.
Set the encoding to use for logging Unicode objects.
Set the current logging level.
Set the current logging state.
The date and time when the module was built.
The level at which critical errors are logged.
The level at which debugging messages are logged.
The environment variable name used for defining the file to which messages are to be logged.
The environment variable name used for defining the level at which messages are to be logged.
The environment variable name used for defining the maximum number of files to use in the rotating logging scheme.
The environment variable name used for defining the maximum size of files before the files are rotated.
The environment variable name used for defining the prefix to use for all messages.
The level at which errors are logged.
The level at which information messages are logged.
The level at which no messages are logged.
The version of the module.
The level at which warning messages are logged.