runtime
Core API
This module available in Core API
Module runtime
allows you to get an information about the Balerter runtime
Usage:
Methods
logLevel
logLevel() string
Get a logger level value (CLI flag -logLevel <VALUE>
)
isDebug
isDebug() bool
True, if the CLI flag --debug
has been defined
isOnce
isOnce() bool
True, if the CLI flag --once
has been defined
withScript
withScript() string
The value of the CLI flag -script <VALUE>
configSource
configSource() string
The value of the CLI flag -config <VALUE>
safeMode
safeMode() bool
The value of the CLI flag --safemode