Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Create a rich.console.Console sink for a loguru.Logger. | |
| This module provides a custom sink for the loguru logger that uses the rich | |
| library to format and display log messages in a visually appealing way. It also | |
| includes functions to set up logging, manage run counts, and handle log file | |
| creation and cleanup. | |
| It is designed to be used in Python projects that require structured and colorful | |
| logging output, especially for long-running processes or applications where | |
| tracking progress and errors is important. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- The gradient backgrounds are applied to the body --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| # C extensions | |
| *.so | |
| # Distribution / packaging | |
| .Python |