Class Logger
java.lang.Object
software.amazon.awssdk.utils.Logger
-
Method Summary
Modifier and TypeMethodDescriptionvoidChecks if debug is enabled and if so logs the supplied messagevoidChecks if debug is enabled and if so logs the supplied message and exceptionvoidChecks if error is enabled and if so logs the supplied messagevoidChecks if error is enabled and if so logs the supplied message and exceptionvoidChecks if info is enabled and if so logs the supplied messagevoidChecks if info is enabled and if so logs the supplied message and exceptionbooleanisLoggingLevelEnabled(String logLevel) Determines if the log-level passed is enabledbooleanisLoggingLevelEnabled(org.slf4j.event.Level logLevel) Determines if the provided log-level is enabled.voidLog a message at the given log level (if it is enabled).org.slf4j.Loggerlogger()static LoggerStatic factory to get a logger instance for a given classstatic LoggerStatic factory to get a logger instance with a specific name.voidChecks if trace is enabled and if so logs the supplied messagevoidChecks if trace is enabled and if so logs the supplied message and exceptionvoidChecks if warn is enabled and if so logs the supplied messagevoidChecks if warn is enabled and if so logs the supplied message and exception
-
Method Details
-
logger
public org.slf4j.Logger logger() -
info
-
info
-
error
-
error
-
debug
-
debug
-
warn
-
warn
-
trace
-
trace
-
isLoggingLevelEnabled
public boolean isLoggingLevelEnabled(org.slf4j.event.Level logLevel) Determines if the provided log-level is enabled.- Parameters:
logLevel- the SLF4J log level enum- Returns:
- whether that level is enabled
-
isLoggingLevelEnabled
Determines if the log-level passed is enabled- Parameters:
logLevel- a string representation of the log level, e.g. "debug"- Returns:
- whether or not that level is enable
-
log
-
loggerFor
-
loggerFor
-