default_formats
ASYNC = '{asctime} | {levelname:.3} | {taskName:>10} | {message}'
module-attribute
¶
useful when doing asnyc-code
DEBUGGING = '{asctime} | {levelname:.3} | {name:>15} | {funcName:>12} | {lineno:>3} | {message}'
module-attribute
¶
format with all the information you need to find where the error comes from
LEVEL_MESSAGE = '{levelname:.3} | {message}'
module-attribute
¶
minimalistic design with the logged information and the severity
MESSAGE = '{message}'
module-attribute
¶
minimalistic design with only the logged information
MINIMAL = '{asctime} | {levelname:.3} | {name:>15} | {message}'
module-attribute
¶
this is a simple format which includes the time, level, logger-name and message
PROCESSING = '{asctime} | {levelname:.3} | {process:>5} | {message}'
module-attribute
¶
useful when doing multi-processing
THREADED = '{asctime} | {levelname:.3} | {thread:>3} | {message}'
module-attribute
¶
useful when doing multi-threading