logging.getLogger()
  • References/Python/Python/Logging

logging.getLogger(name=None) Return a logger with the specified name or, if name is None, return a logger which

2025-01-10 15:47:30
logging.Logger.log()
  • References/Python/Python/Logging

Logger.log(lvl, msg, *args, **kwargs) Logs a message with integer level lvl on this logger. The other arguments are

2025-01-10 15:47:30
logging.handlers.BaseRotatingHandler.rotator
  • References/Python/Python/Logging

rotator If this attribute is set to a callable, the rotate() method delegates to this callable. The parameters

2025-01-10 15:47:30
logging.getLoggerClass()
  • References/Python/Python/Logging

logging.getLoggerClass() Return either the standard Logger class, or the last class passed to setLoggerClass()

2025-01-10 15:47:30
logging.setLoggerClass()
  • References/Python/Python/Logging

logging.setLoggerClass(klass) Tells the logging system to use the class klass when instantiating a logger. The class

2025-01-10 15:47:30
logging.handlers.QueueListener.enqueue_sentinel()
  • References/Python/Python/Logging

enqueue_sentinel() Writes a sentinel to the queue to tell the listener to quit. This implementation uses put_nowait()

2025-01-10 15:47:30
logging.LoggerAdapter
  • References/Python/Python/Logging

class logging.LoggerAdapter(logger, extra) Returns an instance of LoggerAdapter initialized with an underlying

2025-01-10 15:47:30
logging.FileHandler
  • References/Python/Python/Logging

class logging.FileHandler(filename, mode='a', encoding=None, delay=False) Returns a new instance of the FileHandler

2025-01-10 15:47:30
logging.handlers.SMTPHandler.getSubject()
  • References/Python/Python/Logging

getSubject(record) If you want to specify a subject line which is record-dependent, override this method.

2025-01-10 15:47:30
logging.handlers.SocketHandler.makeSocket()
  • References/Python/Python/Logging

makeSocket() This is a factory method which allows subclasses to define the precise type of socket they want. The default implementation

2025-01-10 15:47:30