jw-python/src/python/jw/util/log.py
Jan Lindemann 71037e631a
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m26s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m27s
CI / Packaging test (pull_request) Successful in 0s
style: Sync import formatting with current isort
The current isort formats parenthesized import lists with a trailing comma
and wraps long imports differently than when the files were last formatted,
so make format rewrites them on every run even though nothing is wrong with
the code.

Apply make format to the two drifted import statements so the tree matches
the formatter's output and make format becomes a no-op:

- src/python/jw/util/log.py: trailing comma in the jw.pkg.lib.log import
  list
- src/python/jwutils/db/schema/CompositeForeignKey.py: wrap the
  CompositeForeignKey import in parentheses

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-13 15:09:33 +01:00

64 lines
1 KiB
Python

from jw.pkg.lib.log import (
ALERT,
CRIT,
DEBUG,
DEVEL,
EMERG,
ERR,
INFO,
NOTICE,
OFF,
WARNING,
add_capture_stream,
add_log_file,
append_to_prefix,
console_color_chars,
get_caller_pos,
log,
log_level,
log_m,
parse_log_prio_str,
prio_gets_logged,
remove_from_prefix,
rm_capture_stream,
set_filename_length,
set_flags,
set_level,
set_module_name_length,
throw,
)
slog = log
slog_m = log_m
__all__ = [
"EMERG",
"ALERT",
"CRIT",
"ERR",
"WARNING",
"NOTICE",
"INFO",
"DEBUG",
"DEVEL",
"OFF",
"add_capture_stream",
"rm_capture_stream",
"prio_gets_logged",
"log_level",
"get_caller_pos",
"log_m",
"log",
"slog_m",
"slog",
"throw",
"parse_log_prio_str",
"console_color_chars",
"set_level",
"set_flags",
"append_to_prefix",
"remove_from_prefix",
"set_filename_length",
"set_module_name_length",
"add_log_file",
]