logging
add_logging_sink(sink: TextIO | loguru.Writable | Callable[[loguru.Message], None] | Handler | Path, verbose: int, *, colorize: bool = False, serialize: bool = False) -> None
Add a new output file handle for logging.
Source code in src/rra_tools/logging/config.py
configure_logging_to_files(log_dir: str | Path) -> None
Sets up logging to a file in an output directory.
Logs to files are done with the highest verbosity to allow for debugging if necessary.
Source code in src/rra_tools/logging/config.py
configure_logging_to_terminal(verbose: int) -> None
Setup logging to sys.stdout.
This is presumed to be one of the first calls made in an application entry point. Any logging that occurs before this call won't be intercepted or handled with the standard logging configuration.
Source code in src/rra_tools/logging/config.py
config
add_logging_sink(sink: TextIO | loguru.Writable | Callable[[loguru.Message], None] | Handler | Path, verbose: int, *, colorize: bool = False, serialize: bool = False) -> None
Add a new output file handle for logging.
Source code in src/rra_tools/logging/config.py
configure_logging_to_files(log_dir: str | Path) -> None
Sets up logging to a file in an output directory.
Logs to files are done with the highest verbosity to allow for debugging if necessary.
Source code in src/rra_tools/logging/config.py
configure_logging_to_terminal(verbose: int) -> None
Setup logging to sys.stdout.
This is presumed to be one of the first calls made in an application entry point. Any logging that occurs before this call won't be intercepted or handled with the standard logging configuration.