java.lang.Object
com.streamwide.smartms.lib.camera.logger.Logger

public class Logger extends Object
SW camera library logger. You can provide your own logger delegate implementation, to be able to log in a different way. By default the log level is set to DEBUG when the build type is debug, and OFF in release. The default logger implementation logs in Android's LogCat.
  • Method Details

    • resetLoggerDelegate

      public static void resetLoggerDelegate()
    • setLoggerDelegate

      public static void setLoggerDelegate(@Nullable Logger.LoggerDelegate delegate)
    • setLogLevel

      public static void setLogLevel(@NonNull Logger.LogLevel level)
    • error

      public static void error(@Nullable String tag, @NonNull String message)
    • error

      public static void error(@Nullable String tag, @NonNull String message, @Nullable Throwable exception)
    • info

      public static void info(@Nullable String tag, @NonNull String message)
    • debug

      public static void debug(@Nullable String tag, @NonNull String message)