Class SDKLogger
- Last UpdatedJun 10, 2025
- 2 minute read
Package com.here.sdk.core.engine
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.core.engine.SDKLogger
-
public final class SDKLogger extends NativeBase
Logging interface for Android/iOS platforms. These logs are under management of
LogControl
and should be used instead of platform-specific logging functions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
error(java.lang.String tag, java.lang.String message)
convenient function to print a message with log level ERROR and tag.static void
fatal(java.lang.String tag, java.lang.String message)
convenient function to print a message with log level FATAL and tag.static void
info(java.lang.String tag, java.lang.String message)
convenient function to print a message with log level INFO and tag.static void
log(LogLevel level, java.lang.String tag, java.lang.String message)
static void
warn(java.lang.String tag, java.lang.String message)
convenient function to print a message with log level WARNING and tag.
-
-
-
Method Detail
-
log
public static void log(@NonNull LogLevel level, @NonNull java.lang.String tag, @NonNull java.lang.String message)
- Parameters:
level
-The severity of the log message.
tag
-The log tag.
message
-The log message.
-
info
public static void info(@NonNull java.lang.String tag, @NonNull java.lang.String message)
convenient function to print a message with log level INFO and tag.
- Parameters:
tag
-The log tag.
message
-The log message.
-
warn
public static void warn(@NonNull java.lang.String tag, @NonNull java.lang.String message)
convenient function to print a message with log level WARNING and tag.
- Parameters:
tag
-The log tag.
message
-The log message.
-
error
public static void error(@NonNull java.lang.String tag, @NonNull java.lang.String message)
convenient function to print a message with log level ERROR and tag.
- Parameters:
tag
-The log tag.
message
-The log message.
-
fatal
public static void fatal(@NonNull java.lang.String tag, @NonNull java.lang.String message)
convenient function to print a message with log level FATAL and tag.
- Parameters:
tag
-The log tag.
message
-The log message.
-
-