Skip to main content

Log Level Settings

You can set the log level as below to inspect the operation of the SDK. While we recommend using the default log level that is set by setEnv, you can customize the log level if needed.

Log LevelDescription
VerboseProduces all log entries.
DebugProduces all log entries with the Debug level and above.
InfoProduces all log entries with the Info level and above.
WarnProduces all log entries with the Warn level and above.
ErrorProduces log entries only with the Error level.
OffDoes not produce any log entries.

The log level will start to apply from the logs that are generated immediately after setting it. For example, to set the log level to Verbose, use the code below:

FlowerSdk.setLogLevel("Verbose")