loki.logging
Loki’s logger classes and logging utilities.
Functions
|
Logger that emits to a single logfile, as well as stdout/stderr. |
|
|
|
|
|
|
|
Wrapper of the main Python's logging function. |
|
|
|
Set the log level for the Loki logger. |
|
- set_log_level(level)
Set the log level for the Loki logger.
- FileLogger(name, filename, level=None, file_level=None, fmt=None, mode='a')
Logger that emits to a single logfile, as well as stdout/stderr.
- debug(msg, *args, **kwargs)
- info(msg, *args, **kwargs)
- warning(msg, *args, **kwargs)
- error(msg, *args, **kwargs)
- log(msg, level, *args, **kwargs)
Wrapper of the main Python’s logging function. Print ‘msg % args’ with the severity ‘level’.
- Parameters:
msg – the message to be printed.