Loggers#
Module with loggers.
Implementation of global logger tslogger
is inspired by loguru.
Examples
>>> from etna.loggers import tslogger, ConsoleLogger
>>> tslogger.add(ConsoleLogger())
0
Notes
Global objects behavior could be different while parallel usage because platform dependent new process start.
Be sure that new process is started with fork
.
If it’s not possible you should try define all globals before if __name__ == "__main__"
scope.
API details#
Loggers:
|
Log any events and metrics to stderr output. |
|
Logger for logging files into local folder. |
|
Logger for logging files into S3 bucket. |
|
Weights&Biases logger. |
There is global object tslogger
that can be imported. It has a class:
|
Composite for loggers. |