Package io.sentry
Class NoOpLogger
- java.lang.Object
-
- io.sentry.NoOpLogger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoOpLoggergetInstance()booleanisEnabled(@Nullable SentryLevel level)Whether this logger is enabled for the specified SentryLevel.voidlog(@NotNull SentryLevel level, @NotNull java.lang.String message, @Nullable java.lang.Object... args)Logs a message with the specified level, message and optional arguments.voidlog(@NotNull SentryLevel level, @NotNull java.lang.String message, @Nullable java.lang.Throwable throwable)Logs a message with the specified level, message and optional arguments.voidlog(@NotNull SentryLevel level, @Nullable java.lang.Throwable throwable, @NotNull java.lang.String message, @Nullable java.lang.Object... args)Logs a message with the specified level, throwable, message and optional arguments.
-
-
-
Method Detail
-
getInstance
public static NoOpLogger getInstance()
-
log
public void log(@NotNull @NotNull SentryLevel level, @NotNull @NotNull java.lang.String message, @Nullable @Nullable java.lang.Object... args)Description copied from interface:ILoggerLogs a message with the specified level, message and optional arguments.
-
log
public void log(@NotNull @NotNull SentryLevel level, @NotNull @NotNull java.lang.String message, @Nullable @Nullable java.lang.Throwable throwable)Description copied from interface:ILoggerLogs a message with the specified level, message and optional arguments.
-
log
public void log(@NotNull @NotNull SentryLevel level, @Nullable @Nullable java.lang.Throwable throwable, @NotNull @NotNull java.lang.String message, @Nullable @Nullable java.lang.Object... args)Description copied from interface:ILoggerLogs a message with the specified level, throwable, message and optional arguments.
-
isEnabled
public boolean isEnabled(@Nullable @Nullable SentryLevel level)Description copied from interface:ILoggerWhether this logger is enabled for the specified SentryLevel.
-
-