sinergym.utils.logger.Logger
- class sinergym.utils.logger.Logger
Sinergym terminal logger for simulation executions.
- __init__()
Methods
__init__
()getLogger
(name, level[, formatter])Return Sinergym logger for the progress output in terminal.
- getLogger(name: str, level: str, formatter: ~typing.Any = <sinergym.utils.logger.CustomFormatter object>) Logger
Return Sinergym logger for the progress output in terminal.
- Parameters:
name (str) – logger name
level (str) – logger level
formatter (Callable) – logger formatter class
- Returns:
logging.logger