LogRecord Attributes
While constructing the format for the log, we can provide LogRecord attributes such asctime, message etc.
logging.basicConfig(
format="%(levelname)s - %(message)s - %(filename)"
)While constructing the format for the log, we can provide LogRecord attributes such asctime, message etc.
logging.basicConfig(
format="%(levelname)s - %(message)s - %(filename)"
)