klyn.logging.LogHandlerConfiguration.integer
method
public integer(name as String, defaultValue as Int = 0) as Int:
Description

Reads an integer option.

Parameters
ParameterDescription
nameOption name.
defaultValueValue used when absent.
Returns

Integer value.

Throws
  • LogConfigurationException when conversion fails.
Example

files = config.integer("files", 10)