-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path__init__.py
20 lines (18 loc) · 971 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This has to be the first import.
# It sets up the base logging system, to be used by python_sdk, while it's initializing.
from python_sdk.log import _base # isort:skip
from python_sdk.log._context import bind as bind
from python_sdk.log._context import unbind as unbind
from python_sdk.log._context import unbind_all as unbind_all
from python_sdk.log._log import audit as audit
from python_sdk.log._log import critical as critical
from python_sdk.log._log import debug as debug
from python_sdk.log._log import error as error
from python_sdk.log._log import exception as exception
from python_sdk.log._log import info as info
from python_sdk.log._log import security as security
from python_sdk.log._log import warning as warning
# This has to be the last import.
# Placed anywhere else, it will cause cyclical imports.
# When imported, the below will set up the user-configured logging system.
from python_sdk.log._config import LogConfig as LogConfig # isort:skip