diff options
| author | Scott Gasch <[email protected]> | 2022-05-28 19:29:08 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-05-28 19:29:08 -0700 |
| commit | 1e858172519e9339e4720b8bf9b39b6d9801e305 (patch) | |
| tree | 75306d5a4eb3a9b512646f0acc5c6174644348a6 /logging_utils.py | |
| parent | 52ff365609d3f5a81cb79dc4464b19bd5860cfc0 (diff) | |
Tweak around docstring to make prettier sphinx autodocs.
Diffstat (limited to 'logging_utils.py')
| -rw-r--r-- | logging_utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/logging_utils.py b/logging_utils.py index 6ceba65..78785ba 100644 --- a/logging_utils.py +++ b/logging_utils.py @@ -669,7 +669,6 @@ class OutputMultiplexer(object): various logging levels, different files, different file handles, the house log, etc...). See also OutputMultiplexerContext for an easy usage pattern. - """ class Destination(enum.IntEnum): @@ -784,7 +783,7 @@ class OutputMultiplexer(object): class OutputMultiplexerContext(OutputMultiplexer, contextlib.ContextDecorator): """ - A context that uses an OutputMultiplexer. e.g. + A context that uses an OutputMultiplexer. e.g.:: with OutputMultiplexerContext( OutputMultiplexer.LOG_INFO | @@ -795,7 +794,6 @@ class OutputMultiplexerContext(OutputMultiplexer, contextlib.ContextDecorator): handles = [ f, g ] ) as mplex: mplex.print("This is a log message!") - """ def __init__( |
