klyn.logging.LogHandlerFactory.validate
method
public validate(configuration as LogHandlerConfiguration) as Void throws LogConfigurationException
Description

Validates the shape and declared values of a TOML table.

This method is called even when enabled = false, but it must not open a file, database connection or other external resource.

Parameters
ParameterDescription
configurationTable configuration to validate.
Throws
  • LogConfigurationException when an option is unknown or invalid.
Example

factory.validate(configuration)