bec_lib.file_utils.LogWriter#
- class LogWriter(service_config: dict)[source]#
Bases:
object
Log writer class
Initialize the log writer class.
- Parameters:
service_config (dict) – Log writer service config. Must at least contain a base_path.
Methods
Create the log directory.
Attributes
Get the log directory.
- property directory: str#
Get the log directory.
- Returns:
String representation of log directory
- Return type:
str