Interface PlatformLogger
public interface PlatformLogger
Platform-friendly logger facade to avoid binding to a specific implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a debug-level message.voidLog an error message.voidLog an error with throwable.voidLog an info-level message.default booleanReturns whether debug output is currently enabled by the platform logger.default booleanReturns whether trace output is currently enabled by the platform logger.voidLog a warning message.voidLog a warning with throwable.
-
Method Details
-
info
-
warn
-
warn
-
error
-
error
-
debug
-
isDebugEnabled
default boolean isDebugEnabled()Returns whether debug output is currently enabled by the platform logger.- Returns:
- true if debug logs would be emitted
-
isTraceEnabled
default boolean isTraceEnabled()Returns whether trace output is currently enabled by the platform logger.- Returns:
- true if trace logs would be emitted
-