Lines Matching defs:log
23 To use, simply 'import logging' and log away!
39 'info', 'log', 'makeLogRecord', 'setLoggerClass', 'shutdown',
67 # If you don't want threading information in the log, set this to zero
72 # If you don't want multiprocessing information in the log, set this to zero
77 # If you don't want process information in the log, set this to zero
88 # loggers are initialized with NOTSET so that they will log all messages, even
309 # is done. For example, logger.warning('Value is %d', 0) would log
381 # Determine which class to use when instantiating log records.
387 Set the factory to be used when instantiating a log record.
390 a log record.
397 Return the factory to be used when instantiating a log record.
957 Do whatever it takes to actually log the specified logging record.
1373 Set the factory to be used when instantiating a log record with this
1544 def log(self, level, msg, *args, **kwargs):
1551 logger.log(level, "We have a %s", "mysterious problem", exc_info=1)
1843 self.log(DEBUG, msg, *args, **kwargs)
1849 self.log(INFO, msg, *args, **kwargs)
1855 self.log(WARNING, msg, *args, **kwargs)
1866 self.log(ERROR, msg, *args, **kwargs)
1872 self.log(ERROR, msg, *args, exc_info=exc_info, **kwargs)
1878 self.log(CRITICAL, msg, *args, **kwargs)
1880 def log(self, level, msg, *args, **kwargs):
1882 Delegate a log call to the underlying logger, after adding
1887 self.logger.log(level, msg, *args, **kwargs)
1915 Low-level log implementation, proxied to allow nested logger adapters.
2160 def log(level, msg, *args, **kwargs):
2168 root.log(level, msg, *args, **kwargs)
2217 important for library code, which may contain code to log events. If a user
2244 it will call warnings.formatwarning and will log the resulting string to a
2256 # since some log aggregation tools group logs by the msg arg