-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
executable file
·24 lines (21 loc) · 696 Bytes
/
__init__.py
File metadata and controls
executable file
·24 lines (21 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import logging
from importlib.metadata import version
from pythonlogs.core.constants import LogLevel, RotateWhen
from pythonlogs.core.factory import BasicLog, SizeRotatingLog, TimedRotatingLog
from pythonlogs.core.settings import clear_settings_cache, get_log_settings
__all__ = (
"BasicLog",
"SizeRotatingLog",
"TimedRotatingLog",
"LogLevel",
"RotateWhen",
"clear_settings_cache",
"get_log_settings",
)
__title__ = "pythonlogs"
__author__ = "Daniel Costa"
__license__ = "MIT"
__copyright__ = "Copyright 2024-present DDC Softwares"
__version__ = version(__title__)
logging.getLogger(__name__).addHandler(logging.NullHandler())