• Home
  • Raw
  • Download

Lines Matching full:loggers

160 Loggers are plain Python objects.  The :meth:`~Logger.addHandler` method has no
236 # Now, define a couple of other loggers which might represent areas in your
347 :class:`QueueHandler` to those loggers which are accessed from
354 attach only ``QueueHandlers`` to your loggers) for the benefit of other
426 # Now, define a couple of other loggers which might represent areas in your
806 LOGGERS = ['a.b.c', 'd.e.f']
833 logger = logging.getLogger(choice(LOGGERS))
888 loggers = ['foo', 'foo.bar', 'foo.bar.baz',
892 logger = logging.getLogger(random.choice(loggers))
930 'loggers': {
956 This variant shows how you can e.g. apply configuration for particular loggers
1261 before any loggers that you care about are instantiated.
1273 developers can set a suitable filter on their loggers, but they would have to
1429 'loggers': {
1511 dispatches events to loggers based on the name in the received record,
1513 configured for those loggers.
1560 loggers.
1569 loggers = ['foo', 'foo.bar', 'foo.bar.baz',
1582 logger = logging.getLogger(random.choice(loggers))
1604 # We disable existing loggers to disable the "setup" logger used in the
1624 # We disable existing loggers to disable the "setup" logger used in the
1666 'loggers': {
2004 There have been suggestions to associate format styles with specific loggers,
3052 Using loggers as attributes in a class or passing them as parameters
3056 there is no point because loggers are singletons. Code can always access a
3059 that in other languages such as Java and C#, loggers are often static class
3070 loggers other than a :class:`~logging.NullHandler` instance.
3073 Creating a lot of loggers
3076 Loggers are singletons that are never freed during a script execution, and so
3077 creating lots of loggers will use up memory which can't then be freed. Rather
3080 information into your logs and restrict the loggers created to those describing