public class SimpleLoggerProvider extends java.lang.Object implements LoggerProvider<SimpleLogger>
SimpleLogger
adapter.Modifier | Constructor and Description |
---|---|
protected |
SimpleLoggerProvider() |
Modifier and Type | Method and Description |
---|---|
SimpleLogger |
createLogger(java.lang.String name)
Creates new Jodd logger.
|
long |
getElapsedTime()
Returns elapsed time in milliseconds.
|
public long getElapsedTime()
public SimpleLogger 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.
createLogger
in interface LoggerProvider<SimpleLogger>
Copyright © 2003-present Jodd Team