enableLoggingToConsole static method
- LogLevel level
Enables HERE SDK logging messages to console .
Enabled by default with LogLevel.logLevelInfo.
Setting a LogLevel defines the minimal level of messages which will be reported,
based on the following hierarchy:
LOG_LEVEL_INFOLOG_LEVEL_WARNINGLOG_LEVEL_ERRORLOG_LEVEL_FATAL
For example, when setting LOG_LEVEL_ERROR, then LOG_LEVEL_INFO and LOG_LEVEL_WARNING
will be excluded from the logs. All other levels will be logged.
Therefore, only one call is needed. Another call will overwrite the previous minimal level.
See LogLevel for the severity hierarchy and threshold behavior used by all
HERE SDK logging APIs.
Use LogAppender if you need to apply additional runtime filtering after
this threshold.
levelLog level.
Implementation
static void enableLoggingToConsole(LogLevel level) => $prototype.enableLoggingToConsole(level);