jw-python/src/python/jwutils/log.py
Jan Lindemann a2684dd601
jwutils: Move to jwutils -> jw.util

Move all implementation source code from the jwutils module to jw.util. For compatibility with existing Python modules, keep a thin, autogenerated compatibility shim under jwutils.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-11 23:10:25 +00:00

45 lines
1.4 KiB
Python

# ruff: noqa: E501
from jw.util.log import OFF as OFF
from jw.util.log import DEBUG as DEBUG
from jw.util.log import INFO as INFO
from jw.util.log import NOTICE as NOTICE
from jw.util.log import WARNING as WARNING
from jw.util.log import ERR as ERR
from jw.util.log import prio_gets_logged as prio_gets_logged
from jw.util.log import log_level as log_level
from jw.util.log import slog_m as slog_m
from jw.util.log import slog as slog
from jw.util.log import parse_log_prio_str as parse_log_prio_str
from jw.util.log import console_color_chars as console_color_chars
from jw.util.log import get_caller_pos as get_caller_pos
from jw.util.log import set_level as set_level
from jw.util.log import set_flags as set_flags
from jw.util.log import append_to_prefix as append_to_prefix
from jw.util.log import remove_from_prefix as remove_from_prefix
from jw.util.log import set_filename_length as set_filename_length
from jw.util.log import set_module_name_length as set_module_name_length
from jw.util.log import add_log_file as add_log_file
__all__ = [
"OFF",
"DEBUG",
"INFO",
"NOTICE",
"WARNING",
"ERR",
"prio_gets_logged",
"log_level",
"slog_m",
"slog",
"parse_log_prio_str",
"console_color_chars",
"get_caller_pos",
"set_level",
"set_flags",
"append_to_prefix",
"remove_from_prefix",
"set_filename_length",
"set_module_name_length",
"add_log_file",
]