logging.Logger.setLevel()
  • References/Python/Python/Logging

Logger.setLevel(lvl) Sets the threshold for this logger to lvl. Logging messages which are less severe than lvl

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

close() Closes the socket.

2025-01-10 15:47:30
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.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.critical()
  • References/Python/Python/Logging

logging.critical(msg, *args, **kwargs) Logs a message with level CRITICAL on the root logger. The arguments are

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

makeSocket() The factory method of SocketHandler is here overridden to create a UDP socket (

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

class logging.LogRecord(name, level, pathname, lineno, msg, args, exc_info, func=None, sinfo=None) Contains all the information

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

class logging.handlers.SMTPHandler(mailhost, fromaddr, toaddrs, subject, credentials=None, secure=None, timeout=1.0) Returns

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

Handler.emit(record) Do whatever it takes to actually log the specified logging record. This version is intended to be implemented

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

enqueue(record) Enqueues the record on the queue using put_nowait(); you may want to override this if you want

2025-01-10 15:47:30