From ed48aedf6d5555b8cd621ce29e028187a28c3c65 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 10 Jun 2023 13:43:10 -0700 Subject: [PATCH] Update logging_utils docs. --- src/pyutils/logging_utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pyutils/logging_utils.py b/src/pyutils/logging_utils.py index b0b0618..dbc8a6f 100644 --- a/src/pyutils/logging_utils.py +++ b/src/pyutils/logging_utils.py @@ -32,8 +32,12 @@ to do things such as: * optionally squelch repeated messages (:code:`--logging_squelch_repeats`), * optionally log probalistically (:code:`--logging_probabilistically`), * capture printed messages into the info log (:code:`--logging_captures_prints`), - * and optionally clear unwanted logging handlers added by other imports + * optionally clear unwanted logging handlers added by other imports before this one (:code:`--logging_clear_preexisting_handlers`). + * optionally append to system-wide records of non-zero exits + (:code:`--logging_non_zero_exits_record_path`) and unhandled exceptions + (:code:`--logging_unhandled_top_level_exceptions_record_path`) in + cooperation with :mod:`pyutils.bootstrap`. * There are also :class:`LoggerAdapter` classes to implement prefix/suffix functionality without using :class:`LoggingContext` by wrapping the logger included. -- 2.45.0