Rotary Logger  1.0.2
The middleware rotary logger
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1"""
2# +==== BEGIN rotary_logger =================+
3# LOGO:
4# ..........####...####..........
5# ......###.....#.#########......
6# ....##........#.###########....
7# ...#..........#.############...
8# ...#..........#.#####.######...
9# ..#.....##....#.###..#...####..
10# .#.....#.##...#.##..##########.
11# #.....##########....##...######
12# #.....#...##..#.##..####.######
13# .#...##....##.#.##..###..#####.
14# ..#.##......#.#.####...######..
15# ..#...........#.#############..
16# ..#...........#.#############..
17# ...##.........#.############...
18# ......#.......#.#########......
19# .......#......#.########.......
20# .........#####...#####.........
21# /STOP
22# PROJECT: rotary_logger
23# FILE: __main__.py
24# CREATION DATE: 29-10-2025
25# LAST Modified: 18:9:5 03-03-2026
26# DESCRIPTION:
27# A module that provides a universal python light on iops way of logging to files your program execution.
28# /STOP
29# COPYRIGHT: (c) Asperguide
30# PURPOSE: This file is the one called by python when you run the library as an executable (via python -m rotary_logger)
31# // AR
32# +==== END rotary_logger =================+
33"""
34try:
35 from rotary_logger.entrypoint import main
36except ImportError:
37 try:
38 from .entrypoint import main
39 except ImportError:
40 try:
41 from entrypoint import main
42 except ImportError as e:
43 raise RuntimeError(
44 "Failed to import 'main' from the entrypoint file."
45 ) from e
46
47if __name__ == "__main__":
48 main()