logging~LogManager()

Logging configuration.

Methods

afterPropertiesSet()

Initialization after the components in the application context have been constructed.

clear()

Removes all logging configuration from the tree.

createLogger(name, console, file, level)

Creates a new logger
Parameters:
Name Type Default Description
name string The logger name.
console boolean true If true the logger logs to stdout.
file string null The filename to log to or null.
level string null The log level.

getLogger(name)

Returns the logger with the given name.
Parameters:
Name Type Description
name string The logger name.

loadLogConfiguration(filename)

Loads the logging configuration from file.
Parameters:
Name Type Default Description
filename string logging.toml The filename of the logging configuration.

setDependencies()

Sets the dependencies from the application context.

setLoglevel(name)

Sets the log level of the given logger to the given level.
Parameters:
Name Type Description
name string The logger name.