|
Rotary Logger
1.0.2
The middleware rotary logger
|
Data Structures | |
| class | ErrorMode |
| class | FileInfo |
| class | FileStreamInstances |
| class | LogToggle |
| class | Prefix |
| class | PrefixFunctionCall |
| class | StdMode |
Variables | |
| MIM_STDOUT = sys.stdout | |
| MIM_STDERR = sys.stderr | |
| MIM_STDIN = sys.stdin | |
| stdout | |
| stdin | |
| stderr | |
| line_buffering | |
| bool | IS_A_TTY = sys.stdout.isatty() |
| bool | IS_PIPE = not IS_A_TTY |
| str | MODULE_NAME = "[Rotary Logger]" |
| int | ERROR = 1 |
| int | SUCCESS = 0 |
| str | SPACE = " " |
| int | B1 = 1 |
| int | KB1 = B1 * 1024 |
| int | MB1 = KB1 * KB1 |
| int | GB1 = MB1 * KB1 |
| int | TB1 = GB1 * KB1 |
| str | STDIN = "stdin" |
| str | STDOUT = "stdout" |
| str | STDERR = "stderr" |
| str | STDUNKNOWN = "stdunknown" |
# +==== BEGIN rotary_logger =================+ # LOGO: # ..........####...####.......... # ......###.....#.#########...... # ....##........#.###########.... # ...#..........#.############... # ...#..........#.#####.######... # ..#.....##....#.###..#...####.. # .#.....#.##...#.##..##########. # #.....##########....##...###### # #.....#...##..#.##..####.###### # .#...##....##.#.##..###..#####. # ..#.##......#.#.####...######.. # ..#...........#.#############.. # ..#...........#.#############.. # ...##.........#.############... # ......#.......#.#########...... # .......#......#.########....... # .........#####...#####......... # /STOP # PROJECT: rotary_logger # FILE: constants.py # CREATION DATE: 29-10-2025 # LAST Modified: 12:24:31 27-03-2026 # DESCRIPTION: # A module that provides a universal python light on iops way of logging to files your program execution. # /STOP # COPYRIGHT: (c) Asperguide # PURPOSE: This is the file that contains the values that are not meant to change, this is regardless of the downstream code # // AR # +==== END rotary_logger =================+
| int rotary_logger.constants.B1 = 1 |
Definition at line 71 of file constants.py.
| int rotary_logger.constants.ERROR = 1 |
Definition at line 66 of file constants.py.
Definition at line 74 of file constants.py.
| bool rotary_logger.constants.IS_A_TTY = sys.stdout.isatty() |
Definition at line 61 of file constants.py.
| bool rotary_logger.constants.IS_PIPE = not IS_A_TTY |
Definition at line 62 of file constants.py.
| int rotary_logger.constants.KB1 = B1 * 1024 |
Definition at line 72 of file constants.py.
| rotary_logger.constants.line_buffering |
Definition at line 58 of file constants.py.
Definition at line 73 of file constants.py.
| rotary_logger.constants.MIM_STDERR = sys.stderr |
Definition at line 48 of file constants.py.
| rotary_logger.constants.MIM_STDIN = sys.stdin |
Definition at line 49 of file constants.py.
| rotary_logger.constants.MIM_STDOUT = sys.stdout |
Definition at line 47 of file constants.py.
| str rotary_logger.constants.MODULE_NAME = "[Rotary Logger]" |
Definition at line 64 of file constants.py.
| str rotary_logger.constants.SPACE = " " |
Definition at line 69 of file constants.py.
| str rotary_logger.constants.STDERR = "stderr" |
Definition at line 79 of file constants.py.
| rotary_logger.constants.stderr |
Definition at line 52 of file constants.py.
| str rotary_logger.constants.STDIN = "stdin" |
Definition at line 77 of file constants.py.
| rotary_logger.constants.stdin |
Definition at line 51 of file constants.py.
| str rotary_logger.constants.STDOUT = "stdout" |
Definition at line 78 of file constants.py.
| rotary_logger.constants.stdout |
Definition at line 50 of file constants.py.
| str rotary_logger.constants.STDUNKNOWN = "stdunknown" |
Definition at line 80 of file constants.py.
| int rotary_logger.constants.SUCCESS = 0 |
Definition at line 67 of file constants.py.
Definition at line 75 of file constants.py.