public class WriterLogWriterProvider extends java.lang.Object implements LogWriterProvider
LogWriterProvider
instance which provides WriterLogWriter
s.Constructor and Description |
---|
WriterLogWriterProvider(java.io.Writer log)
Creates a new WriterLogWriterProvider based on the given writer
|
Modifier and Type | Method and Description |
---|---|
LogWriter |
getLogWriter(Batch batch)
Returns a
WriterLogWriter if the logger for
batch.getClass() has debug level enabled. |
LogWriter |
getLogWriter(IdFactory idFactory)
Returns a
WriterLogWriter if the logger for
idFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(NameFactory nameFactory)
Returns a
WriterLogWriter if the logger for
nameFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(PathFactory pathFactory)
Returns a
WriterLogWriter if the logger for
pathFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(QValueFactory valueFactory)
Returns a
WriterLogWriter if the logger for
valueFactory.getClass() has debug level enabled. |
LogWriter |
getLogWriter(RepositoryService service)
Returns a
WriterLogWriter if the logger for
service.getClass() has debug level enabled. |
LogWriter |
getLogWriter(SessionInfo sessionInfo)
Returns a
WriterLogWriter if the logger for
sessionInfo.getClass() has debug level enabled. |
public WriterLogWriterProvider(java.io.Writer log)
log
- the writerpublic LogWriter getLogWriter(RepositoryService service)
WriterLogWriter
if the logger for
service.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
service
.public LogWriter getLogWriter(NameFactory nameFactory)
WriterLogWriter
if the logger for
nameFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
nameFactory
.public LogWriter getLogWriter(PathFactory pathFactory)
WriterLogWriter
if the logger for
pathFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
pathFactory
.public LogWriter getLogWriter(IdFactory idFactory)
WriterLogWriter
if the logger for
idFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
idFactory
.public LogWriter getLogWriter(QValueFactory valueFactory)
WriterLogWriter
if the logger for
valueFactory.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
qValueFactory
.public LogWriter getLogWriter(SessionInfo sessionInfo)
WriterLogWriter
if the logger for
sessionInfo.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
sessionInfo
.public LogWriter getLogWriter(Batch batch)
WriterLogWriter
if the logger for
batch.getClass()
has debug level enabled. Returns
null
otherwise.
getLogWriter
in interface LogWriterProvider
batch
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"