Docs for DAL.logger.root

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<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.


Attributes


DAL.logger.root.__class__ <type 'type'> extends (<class 'logging.Logger'>,) belongs to class <type 'type'>
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.root.__delattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name

DAL.logger.root.__dict__ <type 'dict'> belongs to class <type 'dict'>
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

DAL.logger.root.__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.root.__format__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
default object formatter

DAL.logger.root.__getattribute__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name

DAL.logger.root.__hash__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x)

DAL.logger.root.__init__ <type 'instancemethod'> belongs to class <type 'instancemethod'>
Initialize the logger with the name "root".

DAL.logger.root.__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.root.__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.root.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

DAL.logger.root.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

DAL.logger.root.__repr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x)

DAL.logger.root.__setattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value

DAL.logger.root.__sizeof__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
__sizeof__() -> int size of object in memory, in bytes

DAL.logger.root.__str__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x)

DAL.logger.root.__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.root.__weakref__ <type 'NoneType'> belongs to class <type 'NoneType'>

DAL.logger.root._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.root.addFilter <type 'instancemethod'> belongs to class <type 'instancemethod'>
Add the specified filter to this handler.

DAL.logger.root.addHandler <type 'instancemethod'> belongs to class <type 'instancemethod'>
Add the specified handler to this logger.

DAL.logger.root.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.root.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.root.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.root.disabled <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

DAL.logger.root.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.root.exception <type 'instancemethod'> belongs to class <type 'instancemethod'>
Convenience method for logging an ERROR with exception information.

DAL.logger.root.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.root.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.root.filters <type 'list'> belongs to class <type 'list'>
list() -> new empty list list(iterable) -> new list initialized from iterable's items

DAL.logger.root.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.root.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.root.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.root.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.root.handlers <type 'list'> belongs to class <type 'list'>
list() -> new empty list list(iterable) -> new list initialized from iterable's items

DAL.logger.root.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.root.isEnabledFor <type 'instancemethod'> belongs to class <type 'instancemethod'>
Is this logger enabled for level 'level'?

DAL.logger.root.level <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

DAL.logger.root.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.root.makeRecord <type 'instancemethod'> belongs to class <type 'instancemethod'>
A factory method which can be overridden in subclasses to create specialized LogRecords.

DAL.logger.root.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.root.name <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.root.parent <type 'NoneType'> belongs to class <type 'NoneType'>

DAL.logger.root.propagate <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

DAL.logger.root.removeFilter <type 'instancemethod'> belongs to class <type 'instancemethod'>
Remove the specified filter from this handler.

DAL.logger.root.removeHandler <type 'instancemethod'> belongs to class <type 'instancemethod'>
Remove the specified handler from this logger.

DAL.logger.root.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.root.setLevel <type 'instancemethod'> belongs to class <type 'instancemethod'>
Set the logging level of this logger.

DAL.logger.root.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.root.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)