klyn.logging.LogConfiguration.load
method
public static load(path as Path) as LogConfiguration throws IOException, TOMLParseException, LogConfigurationException:
Description

Loads configuration from a path.

Parameters
ParameterDescription
pathTOML file path.
Returns

Validated configuration.

Example

configuration = LogConfiguration.load(FilePath("logging.toml"))