epicsarchiver_mgmt.logging
Sets up logging for the application.
Attributes
Functions
|
Get the location of the log file. |
|
Set up file logging for the command. |
Module Contents
- epicsarchiver_mgmt.logging.LOG: logging.Logger[source]
- epicsarchiver_mgmt.logging.log_location(command_path: str) pathlib.Path[source]
Get the location of the log file.
- Parameters:
command_path (str) – The full path of the command.
- Returns:
The location of the log file.
- Return type:
Path
- epicsarchiver_mgmt.logging.setup_file_handler(command_path: str) logging.Handler[source]
Set up file logging for the command.
- Parameters:
command_path (str) – The full path of the command.
- Returns:
The file handler for the command.
- Return type: