|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISLF4JLevelLoggerUtils
For those projects that require full, static-free mocking capabilities, use this interface.
Else, the concrete implementation SLF4JLevelLoggerUtils will suffice.
| Method Summary | |
|---|---|
SLF4JLevelLogger |
newInstance(org.slf4j.ILoggerFactory loggerFactory,
SLF4JLogLevel logLevel,
Class<?> clazz)
Creates a new logger than logs all messages at a single level. |
SLF4JLevelLogger |
newInstance(SLF4JLogLevel logLevel,
Class<?> clazz)
This is a convenience method to call newInstance(ILoggerFactory, SLF4JLogLevel, Class) with the default global SLF4J
ILoggerFactory. |
| Method Detail |
|---|
SLF4JLevelLogger newInstance(SLF4JLogLevel logLevel,
Class<?> clazz)
newInstance(ILoggerFactory, SLF4JLogLevel, Class) with the default global SLF4J
ILoggerFactory.
SLF4JLevelLogger newInstance(org.slf4j.ILoggerFactory loggerFactory,
SLF4JLogLevel logLevel,
Class<?> clazz)
loggerFactory - usually LoggerFactory.getILoggerFactory(), but in rare cases may be differentlogLevel - the single level at which the new logging shall log, e.g., SLF4JLogLevel.INFOclazz - used to set the name of the new logger via Class.getName()
SLF4JLevelLogger
NullPointerException - if any argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||