Docs for DAL.logger.__class__
Description
<type 'type'> extends (<class 'logging.Filterer'>,)
|
Attributes
DAL.logger.__class__.__class__ |
<type 'type'> extends (<type 'object'>,)
belongs to class <type 'type'>
type(object) -> the object's type type(name, bases, dict) -> a new type |
DAL.logger.__class__.__delattr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__delattr__('name') <==> del x.name |
DAL.logger.__class__.__dict__ |
<type 'dictproxy'>
belongs to class <type 'dictproxy'>
|
DAL.logger.__class__.__doc__ |
<type 'str'>
belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
DAL.logger.__class__.__format__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
default object formatter |
DAL.logger.__class__.__getattribute__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__getattribute__('name') <==> x.name |
DAL.logger.__class__.__hash__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__hash__() <==> hash(x) |
DAL.logger.__class__.__init__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Initialize the logger with a name and an optional level. |
DAL.logger.__class__.__module__ |
<type 'str'>
belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
DAL.logger.__class__.__new__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T |
DAL.logger.__class__.__reduce__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
helper for pickle |
DAL.logger.__class__.__reduce_ex__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
helper for pickle |
DAL.logger.__class__.__repr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__repr__() <==> repr(x) |
DAL.logger.__class__.__setattr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__setattr__('name', value) <==> x.name = value |
DAL.logger.__class__.__sizeof__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
__sizeof__() -> int size of object in memory, in bytes |
DAL.logger.__class__.__str__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__str__() <==> str(x) |
DAL.logger.__class__.__subclasshook__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached). |
DAL.logger.__class__.__weakref__ |
<type 'getset_descriptor'>
belongs to class <type 'getset_descriptor'>
list of weak references to the object (if defined) |
DAL.logger.__class__._log |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Low-level logging routine which creates a LogRecord and then calls all the handlers of this logger to handle the record. |
DAL.logger.__class__.addFilter |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Add the specified filter to this handler. |
DAL.logger.__class__.addHandler |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Add the specified handler to this logger. |
DAL.logger.__class__.callHandlers |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Pass a record to all relevant handlers. Loop through all handlers for this logger and its parents in the logger hierarchy. If no handler was found, output a one-off error message to sys.stderr. Stop searching up the hierarchy whenever a logger with the "propagate" attribute set to zero is found - that will be the last logger whose handlers are called. |
DAL.logger.__class__.critical |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'CRITICAL'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.critical("Houston, we have a %s", "major disaster", exc_info=1) |
DAL.logger.__class__.debug |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'DEBUG'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.debug("Houston, we have a %s", "thorny problem", exc_info=1) |
DAL.logger.__class__.error |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'ERROR'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.error("Houston, we have a %s", "major problem", exc_info=1) |
DAL.logger.__class__.exception |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Convenience method for logging an ERROR with exception information. |
DAL.logger.__class__.fatal |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'CRITICAL'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.critical("Houston, we have a %s", "major disaster", exc_info=1) |
DAL.logger.__class__.filter |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Determine if a record is loggable by consulting all the filters. The default is to allow the record to be logged; any filter can veto this and the record is then dropped. Returns a zero value if a record is to be dropped, else non-zero. |
DAL.logger.__class__.findCaller |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Find the stack frame of the caller so that we can note the source file name, line number and function name. |
DAL.logger.__class__.getChild |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Get a logger which is a descendant to this one. This is a convenience method, such that logging.getLogger('abc').getChild('def.ghi') is the same as logging.getLogger('abc.def.ghi') It's useful, for example, when the parent logger is named using __name__ rather than a literal string. |
DAL.logger.__class__.getEffectiveLevel |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Get the effective level for this logger. Loop through this logger and its parents in the logger hierarchy, looking for a non-zero logging level. Return the first one found. |
DAL.logger.__class__.handle |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Call the handlers for the specified record. This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied. |
DAL.logger.__class__.info |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'INFO'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.info("Houston, we have a %s", "interesting problem", exc_info=1) |
DAL.logger.__class__.isEnabledFor |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Is this logger enabled for level 'level'? |
DAL.logger.__class__.log |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with the integer severity 'level'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.log(level, "We have a %s", "mysterious problem", exc_info=1) |
DAL.logger.__class__.makeRecord |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
A factory method which can be overridden in subclasses to create specialized LogRecords. |
DAL.logger.__class__.manager |
<class 'logging.Manager'>
belongs to class <class 'logging.Manager'>
There is [under normal circumstances] just one Manager instance, which holds the hierarchy of loggers. |
DAL.logger.__class__.removeFilter |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Remove the specified filter from this handler. |
DAL.logger.__class__.removeHandler |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Remove the specified handler from this logger. |
DAL.logger.__class__.root |
<class 'logging.RootLogger'>
belongs to class <class 'logging.RootLogger'>
A root logger is not that different to any other logger, except that it must have a logging level and there is only one instance of it in the hierarchy. |
DAL.logger.__class__.setLevel |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Set the logging level of this logger. |
DAL.logger.__class__.warn |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'WARNING'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.warning("Houston, we have a %s", "bit of a problem", exc_info=1) |
DAL.logger.__class__.warning |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Log 'msg % args' with severity 'WARNING'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.warning("Houston, we have a %s", "bit of a problem", exc_info=1) |