public class ErrorLogger extends AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>
AbstractLogger.LoggerStorage<P extends LogPublisher<C>,C extends LogPublisherCfg>| Modifier and Type | Method and Description |
|---|---|
void |
addLogPublisher(ErrorLogPublisher<ErrorLogPublisherCfg> publisher)
Add a log publisher to the logger.
|
static ErrorLogger |
getInstance()
Retrieve the singleton instance of this class.
|
protected ClassPropertyDefinition |
getJavaClassPropertyDefinition()
Returns the java
ClassPropertyDefinition for the current logger. |
protected Collection<ErrorLogPublisher<ErrorLogPublisherCfg>> |
getLogPublishers()
Returns the log publishers.
|
void |
removeAllLogPublishers()
Removes all existing log publishers from the logger.
|
boolean |
removeLogPublisher(ErrorLogPublisher<ErrorLogPublisherCfg> publisher)
Remove a log publisher from the logger.
|
applyConfigurationAdd, applyConfigurationChange, applyConfigurationDelete, initializeLogger, isConfigurationAddAcceptable, isConfigurationChangeAcceptable, isConfigurationDeleteAcceptablepublic static ErrorLogger getInstance()
protected ClassPropertyDefinition getJavaClassPropertyDefinition()
ClassPropertyDefinition for the current logger.getJavaClassPropertyDefinition in class AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>ClassPropertyDefinition for the current logger.protected Collection<ErrorLogPublisher<ErrorLogPublisherCfg>> getLogPublishers()
getLogPublishers in class AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>LogPublisherspublic final void addLogPublisher(ErrorLogPublisher<ErrorLogPublisherCfg> publisher)
addLogPublisher in class AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>publisher - The log publisher to add.public final boolean removeLogPublisher(ErrorLogPublisher<ErrorLogPublisherCfg> publisher)
removeLogPublisher in class AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>publisher - The log publisher to remove.public final void removeAllLogPublishers()
removeAllLogPublishers in class AbstractLogger<ErrorLogPublisher<ErrorLogPublisherCfg>,ErrorLogPublisherCfg>Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.