Rotary Logger  1.0.2
The middleware rotary logger
Loading...
Searching...
No Matches
tests.test_split_logging Namespace Reference

Functions

None test_merged_uses_same_instance (Path tmp_path)
 
None test_split_uses_different_instances (Path tmp_path)
 
None test_merge_stdin_true_shares_instance_with_stdout_stderr (Path tmp_path)
 
None test_log_function_calls_prefix_appears_in_log (Path tmp_path)
 

Detailed Description

# +==== BEGIN rotary_logger =================+
# LOGO: 
# ..........####...####..........
# ......###.....#.#########......
# ....##........#.###########....
# ...#..........#.############...
# ...#..........#.#####.######...
# ..#.....##....#.###..#...####..
# .#.....#.##...#.##..##########.
# #.....##########....##...######
# #.....#...##..#.##..####.######
# .#...##....##.#.##..###..#####.
# ..#.##......#.#.####...######..
# ..#...........#.#############..
# ..#...........#.#############..
# ...##.........#.############...
# ......#.......#.#########......
# .......#......#.########.......
# .........#####...#####.........
# /STOP
# PROJECT: rotary_logger
# FILE: test_split_logging.py
# CREATION DATE: 01-11-2025
# LAST Modified: 3:42:31 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 file in charge of testing the split logging functionality of the Rotary logger class.
# // AR
# +==== END rotary_logger =================+

Function Documentation

◆ test_log_function_calls_prefix_appears_in_log()

None tests.test_split_logging.test_log_function_calls_prefix_appears_in_log ( Path tmp_path)
With log_function_calls=True the [WRITE] prefix should appear in the log file.

Definition at line 87 of file test_split_logging.py.

◆ test_merge_stdin_true_shares_instance_with_stdout_stderr()

None tests.test_split_logging.test_merge_stdin_true_shares_instance_with_stdout_stderr ( Path tmp_path)
When merged=True and merge_stdin=True, stdin FileInstance must be the same object as stdout.

Definition at line 73 of file test_split_logging.py.

◆ test_merged_uses_same_instance()

None tests.test_split_logging.test_merged_uses_same_instance ( Path tmp_path)

Definition at line 43 of file test_split_logging.py.

◆ test_split_uses_different_instances()

None tests.test_split_logging.test_split_uses_different_instances ( Path tmp_path)

Definition at line 58 of file test_split_logging.py.