object LogManager: Any

LogManager creates and parametrizes the Logger instances.

Methods

getReportLogger

fun getReportLogger(name: String, logFilePath: Path): Logger

Initializes and returns a new logger.

Parameters

Name Description
name: String

the name or id of the logger

logFilePath: Path

the path to the log file to be created

ReturnValue

Name Description
Logger

getReportLogger

fun getReportLogger(name: String): (name: String)

Returns a Logger for a specific name. It will remember the log file path according to the previously initialized logger with the same name.

Parameters

Name Description
name: String

if a logger with the same name has already be initialized

ReturnValue

Name Description
(name: String)