程序包 org.springframework.core.log
Useful delegates for Spring's logging conventions.
类概要 类 说明 LogAccessor A convenient accessor for Commons Logging, providing not onlyCharSequence
based log methods but alsoSupplier
based variants for use with Java 8 lambda expressions.LogDelegateFactory Factory for commonLog
delegates with Spring's logging conventions.LogFormatUtils Utility methods for formatting and logging messages.LogMessage A simple log message type for use with Commons Logging, allowing for convenient lazy resolution of a givenSupplier
instance (typically bound to a Java 8 lambda expression) or a printf-style format string (String.format(java.lang.String, java.lang.Object...)
) in itsLogMessage.toString()
.