|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.apptemplate.lmslogger.LmsLoggerFactory
com.genesyslab.platform.apptemplate.lmslogger.slf4j.Slf4jLmsLoggerFactory
public class Slf4jLmsLoggerFactory
SLF4J implementation of abstract LmsLoggerFactory
.
This class is not supposed for explicit usage by applications.
The abstract factory LmsLoggerFactory
uses it when SLF4J logging target is chosen.
LmsLoggerFactory
,
LmsLoggerFactory.createInstance(LmsMessageConveyor)
Nested Class Summary | |
---|---|
static class |
Slf4jLmsLoggerFactory.Builder
|
Nested classes/interfaces inherited from class com.genesyslab.platform.apptemplate.lmslogger.LmsLoggerFactory |
---|
LmsLoggerFactory.AbstractFactoryBuilder<F extends LmsLoggerFactory,B extends LmsLoggerFactory.AbstractFactoryBuilder<F,B>>, LmsLoggerFactory.WrappedLogger, LmsLoggerFactory.WrappedLoggerFactory |
Field Summary |
---|
Fields inherited from class com.genesyslab.platform.apptemplate.lmslogger.LmsLoggerFactory |
---|
LMS_LOGGER_FACTORY_CLASS_PROP |
Constructor Summary | |
---|---|
Slf4jLmsLoggerFactory(LmsMessageConveyor lmsc)
The factory constructor. It is not supposed for explicit usage by application. The abstract factory LmsLoggerFactory calls it when SLF4J logging target is used. |
Method Summary | |
---|---|
LmsEventLogger |
getLmsLogger(java.lang.Class<?> clazz)
Gets an LmsEventLogger instance by class. |
LmsEventLogger |
getLmsLogger(java.lang.String name)
Gets an LmsEventLogger instance by name. |
static Slf4jLmsLoggerFactory.Builder |
newBuilder()
|
Methods inherited from class com.genesyslab.platform.apptemplate.lmslogger.LmsLoggerFactory |
---|
createInstance, getLogger, getLogger, getLoggerFactory, getMessageConveyor, setLoggerFactoryImpl, setLoggerFactoryImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Slf4jLmsLoggerFactory(LmsMessageConveyor lmsc)
LmsLoggerFactory
calls it when SLF4J logging target is used.
java.lang.IllegalArgumentException
- if this SLF4J factory is selected, but no SLF4J API available.LmsLoggerFactory
Method Detail |
---|
public LmsEventLogger getLmsLogger(java.lang.String name)
LmsLoggerFactory
getLmsLogger
in class LmsLoggerFactory
name
- the logger name.
public LmsEventLogger getLmsLogger(java.lang.Class<?> clazz)
LmsLoggerFactory
getLmsLogger
in class LmsLoggerFactory
clazz
- class to get the logger for.
public static Slf4jLmsLoggerFactory.Builder newBuilder()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |