Package org.eclipse.aether.spi.log
Interface Logger
Deprecated.
Use SLF4J instead
A simple logger to facilitate emission of diagnostic messages. In general, unrecoverable errors should be reported
via exceptions and informational notifications should be reported via events, hence this logger interface focuses on
support for tracing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Emits the specified message.voidDeprecated.Emits the specified message along with a stack trace of the given exception.booleanDeprecated.Indicates whether debug logging is enabled.booleanDeprecated.Indicates whether warn logging is enabled.voidDeprecated.Emits the specified message.voidDeprecated.Emits the specified message along with a stack trace of the given exception.
-
Method Details
-
isDebugEnabled
boolean isDebugEnabled()Deprecated.Indicates whether debug logging is enabled.- Returns:
trueif debug logging is enabled,falseotherwise.
-
debug
Deprecated.Emits the specified message.- Parameters:
msg- The message to log, must not benull.
-
debug
Deprecated.Emits the specified message along with a stack trace of the given exception.- Parameters:
msg- The message to log, must not benull.error- The exception to log, may benull.
-
isWarnEnabled
boolean isWarnEnabled()Deprecated.Indicates whether warn logging is enabled.- Returns:
trueif warn logging is enabled,falseotherwise.
-
warn
Deprecated.Emits the specified message.- Parameters:
msg- The message to log, must not benull.
-
warn
Deprecated.Emits the specified message along with a stack trace of the given exception.- Parameters:
msg- The message to log, must not benull.error- The exception to log, may benull.
-