diff options
author | 2024-02-13 22:52:19 +0100 | |
---|---|---|
committer | 2024-02-13 22:52:19 +0100 | |
commit | 27be47d23874e8ae5eeed1bb5b777a0dab90e88a (patch) | |
tree | 5b3189aee819d30ae619ce9c5f22d670e04a1a95 /arthur/log.py | |
parent | add sentry-sdk package (diff) |
move logger to its own package
This sets the place to centralize all logs configs in its own module
Diffstat (limited to 'arthur/log.py')
-rw-r--r-- | arthur/log.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arthur/log.py b/arthur/log.py new file mode 100644 index 0000000..cfc6c62 --- /dev/null +++ b/arthur/log.py @@ -0,0 +1,6 @@ +from functools import partial + +import loguru + +logger = loguru.logger.opt(colors=True) +logger.opt = partial(logger.opt, colors=True) |