log

customized logging service for the system programming

source

set_root_logger

 set_root_logger (name:str, data_root:pathlib.Path, agent:str,
                  tz:zoneinfo.ZoneInfo, truck:str, driver:str)

Set the root logger for the system

Type Details
name str name of the root logger
data_root Path root path of the data
agent str agent name, ie. “DDPG”/“RDPG”
tz ZoneInfo time zone of the logging
truck str truck name, ie. “VB7”
driver str driver name, ie. “wang-cheng”
Returns Tuple return the logger and the dict_logger