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.
levelLog level.
Implementation
static void enableLoggingToConsole(LogLevel level) => $prototype.enableLoggingToConsole(level);