public class Slf4jLogWriterProvider extends Object implements LogWriterProvider
LogWriterProvider
instance which provides Slf4jLogWriter
s.Constructor and Description |
---|
Slf4jLogWriterProvider() |
Modifier and Type | Method and Description |
---|---|
LogWriter |
getLogWriter(Batch batch)
Returns a
Slf4jLogWriter if the logger for
batch.getClass() has debug level enabled. |
LogWriter |
getLogWriter(IdFactory idFactory)
Returns a
Slf4jLogWriter if the logger for
idFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(NameFactory nameFactory)
Returns a
Slf4jLogWriter if the logger for
nameFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(PathFactory pathFactory)
Returns a
Slf4jLogWriter if the logger for
pathFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(QValueFactory valueFactory)
Returns a
Slf4jLogWriter if the logger for
valueFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(RepositoryService service)
Returns a
Slf4jLogWriter if the logger for
service.getClass() has debug level enabled. |
LogWriter |
getLogWriter(SessionInfo sessionInfo)
Returns a
Slf4jLogWriter if the logger for
sessionInfo.getClass() has debug level enabled. |
public LogWriter getLogWriter(RepositoryService service)
Slf4jLogWriter
if the logger for
service.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
service
.public LogWriter getLogWriter(NameFactory nameFactory)
Slf4jLogWriter
if the logger for
nameFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
nameFactory
.public LogWriter getLogWriter(PathFactory pathFactory)
Slf4jLogWriter
if the logger for
pathFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
pathFactory
.public LogWriter getLogWriter(IdFactory idFactory)
Slf4jLogWriter
if the logger for
idFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
idFactory
.public LogWriter getLogWriter(QValueFactory valueFactory)
Slf4jLogWriter
if the logger for
valueFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
qValueFactory
.public LogWriter getLogWriter(SessionInfo sessionInfo)
Slf4jLogWriter
if the logger for
sessionInfo.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
sessionInfo
.public LogWriter getLogWriter(Batch batch)
Slf4jLogWriter
if the logger for
batch.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
batch
.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.