Skip to content

Files

Latest commit

f9c64d4 · Sep 19, 2013

History

History
14 lines (8 loc) · 460 Bytes

logging.rst

File metadata and controls

14 lines (8 loc) · 460 Bytes

Logging

Injector uses standard :mod:`logging` module, the logger name is injector.

By default injector logger is not configured to print logs anywhere.

To enable get() tracing (and some other useful information) you need to set injector logger level to DEBUG. You can do that by executing:

import logging

logging.getLogger('injector').setLevel(logging.DEBUG)

or by configuring :mod:`logging` module in any other way.