Rotary Logger  1.0.2
The middleware rotary logger
Loading...
Searching...
No Matches
rotary_logger.constants.ErrorMode Class Reference
Inheritance diagram for rotary_logger.constants.ErrorMode:
Inheritance graph
Collaboration diagram for rotary_logger.constants.ErrorMode:
Collaboration graph

Static Public Attributes

 WARN = ERROR_MODE_WARN
 
 WARN_NO_PIPE = ERROR_MODE_WARN_NO_PIPE
 
 EXIT = ERROR_MODE_EXIT
 
 EXIT_NO_PIPE = ERROR_MODE_EXIT_NO_PIPE
 
str FILE_LOG_DATE_FORMAT = "%Y_%m_%dT%Hh%Mm%Ss"
 

Detailed Description

Tee error handling policy enumeration.

Members represent different policies for handling broken-pipe
situations (e.g. warn, exit, or variants for when stdout/stderr
is a pipe).

Definition at line 124 of file constants.py.

Field Documentation

◆ EXIT

rotary_logger.constants.ErrorMode.EXIT = ERROR_MODE_EXIT
static

Definition at line 133 of file constants.py.

◆ EXIT_NO_PIPE

rotary_logger.constants.ErrorMode.EXIT_NO_PIPE = ERROR_MODE_EXIT_NO_PIPE
static

Definition at line 134 of file constants.py.

◆ FILE_LOG_DATE_FORMAT

str rotary_logger.constants.ErrorMode.FILE_LOG_DATE_FORMAT = "%Y_%m_%dT%Hh%Mm%Ss"
static

Definition at line 137 of file constants.py.

◆ WARN

rotary_logger.constants.ErrorMode.WARN = ERROR_MODE_WARN
static

Definition at line 131 of file constants.py.

◆ WARN_NO_PIPE

rotary_logger.constants.ErrorMode.WARN_NO_PIPE = ERROR_MODE_WARN_NO_PIPE
static

Definition at line 132 of file constants.py.


The documentation for this class was generated from the following file: