Package io.sentry
Class SystemOutLogger
- java.lang.Object
-
- io.sentry.SystemOutLogger
-
-
Constructor Summary
Constructors Constructor Description SystemOutLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled(@Nullable SentryLevel level)
Whether this logger is enabled for the specified SentryLevel.void
log(@NotNull SentryLevel level, @NotNull java.lang.String message, @Nullable java.lang.Object... args)
Logs to console a message with the specified level, message and optional arguments.void
log(@NotNull SentryLevel level, @NotNull java.lang.String message, @Nullable java.lang.Throwable throwable)
Logs to console a message with the specified level, message and throwable.void
log(@NotNull SentryLevel level, @Nullable java.lang.Throwable throwable, @NotNull java.lang.String message, @Nullable java.lang.Object... args)
Logs to console a message with the specified level, throwable, message and optional arguments.
-
-
-
Method Detail
-
log
public void log(@NotNull @NotNull SentryLevel level, @NotNull @NotNull java.lang.String message, @Nullable @Nullable java.lang.Object... args)
Logs to console 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)
Logs to console a message with the specified level, message and throwable.
-
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)
Logs to console a message with the specified level, throwable, message and optional arguments.
-
isEnabled
public boolean isEnabled(@Nullable @Nullable SentryLevel level)
Description copied from interface:ILogger
Whether this logger is enabled for the specified SentryLevel.
-
-