Class LoggerApi

java.lang.Object
io.sentry.logger.LoggerApi
All Implemented Interfaces:
ILoggerApi

@Experimental public final class LoggerApi extends Object implements ILoggerApi
  • Constructor Details

    • LoggerApi

      public LoggerApi(@NotNull @NotNull Scopes scopes)
  • Method Details

    • trace

      public void trace(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      trace in interface ILoggerApi
    • debug

      public void debug(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      debug in interface ILoggerApi
    • info

      public void info(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      info in interface ILoggerApi
    • warn

      public void warn(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      warn in interface ILoggerApi
    • error

      public void error(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      error in interface ILoggerApi
    • fatal

      public void fatal(@Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      fatal in interface ILoggerApi
    • log

      public void log(@NotNull @NotNull SentryLogLevel level, @Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      log in interface ILoggerApi
    • log

      public void log(@NotNull @NotNull SentryLogLevel level, @Nullable @Nullable SentryDate timestamp, @Nullable @Nullable String message, @Nullable @Nullable Object... args)
      Specified by:
      log in interface ILoggerApi