|
Rotary Logger
1.0.2
The middleware rotary logger
|
Functions | |
| _find_log_file (Path root) | |
| None | test_file_instance_write_and_flush (Path tmp_path) |
| None | test_file_instance_defaults (Path tmp_path) |
| None | test_file_instance_log_to_file_false_suppresses_write (Path tmp_path) |
| None | test_file_instance_copy_is_independent (Path tmp_path) |
| None | test_file_instance_update_copies_config (Path tmp_path) |
| None | test_file_instance_set_get_merge_stdin () |
# +==== BEGIN rotary_logger =================+ # LOGO: # ..........####...####.......... # ......###.....#.#########...... # ....##........#.###########.... # ...#..........#.############... # ...#..........#.#####.######... # ..#.....##....#.###..#...####.. # .#.....#.##...#.##..##########. # #.....##########....##...###### # #.....#...##..#.##..####.###### # .#...##....##.#.##..###..#####. # ..#.##......#.#.####...######.. # ..#...........#.#############.. # ..#...........#.#############.. # ...##.........#.############... # ......#.......#.#########...... # .......#......#.########....... # .........#####...#####......... # /STOP # PROJECT: rotary_logger # FILE: test_file_instance.py # CREATION DATE: 01-11-2025 # LAST Modified: 3:42:18 04-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 set of tests in charge of making sure the file_instance class works as expected. # // AR # +==== END rotary_logger =================+
|
protected |
Definition at line 39 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_copy_is_independent | ( | Path | tmp_path | ) |
copy() should return a new instance with identical configuration but no shared state.
Definition at line 89 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_defaults | ( | Path | tmp_path | ) |
Definition at line 72 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_log_to_file_false_suppresses_write | ( | Path | tmp_path | ) |
When log_to_file=False, no file should be created even after writing.
Definition at line 80 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_set_get_merge_stdin | ( | ) |
set_merge_stdin / get_merge_stdin round-trip should be consistent.
Definition at line 114 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_update_copies_config | ( | Path | tmp_path | ) |
update() should copy all configuration fields from the source instance.
Definition at line 103 of file test_file_instance.py.
| None tests.test_file_instance.test_file_instance_write_and_flush | ( | Path | tmp_path | ) |
Definition at line 46 of file test_file_instance.py.