@FunctionalInterface
public interface LoggerProvider<L extends Logger>
Modifier and Type | Method and Description |
---|---|
L |
createLogger(java.lang.String name)
Creates new Jodd logger.
|
L createLogger(java.lang.String name)
Wrapper is an adapter over 3rd party logging frameworks logger. This method may return different wrapper instances for same name, but internal logger instance must be the same. In the case of Jodds implementations, this method always returns the same instance for the same name.
Behaviour for 3rd party libraries is different because of common usage pattern, where logger instances created with this method are usually stored as static finals.
Copyright © 2003-present Jodd Team