toolkit.logging
Modules:
-
once–
Classes:
-
Timer–
Functions:
Attributes:
-
DEFAULT_FILTER(dict[str | None, str | int | bool]) – -
critical_once– -
debug_once– -
error_once– -
info_once– -
success_once– -
timer– -
trace_once– -
warning_once–
DEFAULT_FILTER
module-attribute
DEFAULT_FILTER: dict[str | None, str | int | bool] = {'everett': INFO, 'git.cmd': INFO, 'jax._src': INFO, 'numba.core': INFO, 'urllib3.connectionpool': INFO}
Timer
Methods:
Attributes:
Source code in src/toolkit/logging/_timer.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | |
__call__
Source code in src/toolkit/logging/_timer.py
35 36 37 38 39 40 41 42 43 44 45 46 47 | |
__enter__
__enter__() -> None
Source code in src/toolkit/logging/_timer.py
49 50 | |
__exit__
__exit__(exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None
Source code in src/toolkit/logging/_timer.py
52 53 54 55 56 57 58 | |
__init__
Source code in src/toolkit/logging/_timer.py
24 25 26 27 28 29 30 31 32 33 | |
start
start() -> None
Source code in src/toolkit/logging/_timer.py
64 65 | |
stop
stop() -> None
Source code in src/toolkit/logging/_timer.py
67 68 69 70 71 | |
init
Source code in src/toolkit/logging/_init.py
20 21 22 23 24 25 26 27 28 | |