Class SDKLogger

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 Details

    • log

      public static void log(@NonNull LogLevel level, @NonNull String tag, @NonNull String message)
      Parameters:
      level -

      The severity of the log message.

      tag -

      The log tag.

      message -

      The log message.

    • info

      public static void info(@NonNull String tag, @NonNull 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 String tag, @NonNull 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 String tag, @NonNull 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 String tag, @NonNull String message)

      convenient function to print a message with log level FATAL and tag.

      Parameters:
      tag -

      The log tag.

      message -

      The log message.