Friday, 30 May 2014

Autologging download

Autologging

Autologging Description
Autologging provides two decorators and a metaclass:

@logged
- creates a class-level '__logger' member
- the logger is automatically named to match the dotted-name of the class

@traced
- decorates a module-level function to provide call/return tracing
- log record attributes (pathname, filename, lineno, module, funcName)
are correctly preserved (i.e. they refer to the original function, NOT
the proxy function returned by the decorator)

TracedMethods
- creates a metaclass that adds automatic tracing to specified class
methods (just like @traced does for module-level functions)
- log record attributes (pathname, filename, lineno, module, funcName)
are correctly preserved (i.e. they refer to the original class method,
NOT the proxy method installed by the metaclass)

Additionally, the autologging module defines and registers a custom
log level named &# 34;TRACE" (level 1) so that tracing messages can be
toggled on/off independently of DEBUG-level logging.
Autologging Features

Download:Click Here

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home