scikitplot.sp_logging#
Scikit-plots Logging Module
This module provides advanced logging utilities for Python applications, including support for singleton-based logging with customizable formatters, handlers, and thread-safety. It extends Python’s standard logging library to enhance usability and flexibility for large-scale projects.
Scikit-plots logging helpers, supports vendoring.
Module Dependencies:
Python standard library:
logging
This module defines a logging class based on the built-in logging module.
User guide. See the Logging System section for further details.
Logging Levels#
Functional Interface - get_logger#
A custom logging handler inherited from |
|
A custom logging formatter inherited from |
|
Logs a message at the CRITICAL log level. |
|
Logs a message at the DEBUG log level. |
|
Logs a message at the ERROR log level. |
|
Empty helper method. |
|
Logs a message at the FATAL - CRITICAL log level. |
|
Return how much logging output will be produced. |
|
Return SP (scikitplot) logger instance. |
|
Log 'msg % args' at level 'level' only if condition is fulfilled. |
|
Sets the threshold for what messages will be logged. |
|
Logs a message at the specified log level. |
|
Logs a message at the WARN - WARNING log level. |
|
Logs a message at the WARNING log level. |