Package com.day.cq.replication
Class ListenerLogDelegator
java.lang.Object
com.day.cq.replication.ListenerLogDelegator
- All Implemented Interfaces:
ReplicationLog
ListenerLogDelegator implements a replication log that also
sends the messages to the listener-
Nested Class Summary
Nested classes/interfaces inherited from interface com.day.cq.replication.ReplicationLog
ReplicationLog.Level -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message with level debug.voidLog a message with level debug.voidLog a message with level error.voidLog a message with level error.getLevel()Returns the log level of this loggetLines()Returns the linesvoidLog a message with level info.voidLog a message with level info.voidsetLevel(ReplicationLog.Level level) Set the log levelvoidLog a message with level warn.voidLog a message with level warn.
-
Constructor Details
-
ListenerLogDelegator
-
-
Method Details
-
getLevel
Description copied from interface:ReplicationLogReturns the log level of this log- Specified by:
getLevelin interfaceReplicationLog- Returns:
- the log level
-
setLevel
Description copied from interface:ReplicationLogSet the log level- Specified by:
setLevelin interfaceReplicationLog- Parameters:
level- the log level
-
getLines
Description copied from interface:ReplicationLogReturns the lines- Specified by:
getLinesin interfaceReplicationLog- Returns:
- the lines.
-
debug
Description copied from interface:ReplicationLogLog a message with level debug.- Specified by:
debugin interfaceReplicationLog- Parameters:
message- the log message
-
debug
Description copied from interface:ReplicationLogLog a message with level debug.- Specified by:
debugin interfaceReplicationLog- Parameters:
fmt- the message formatargs- the message arguments- See Also:
-
info
Description copied from interface:ReplicationLogLog a message with level info.- Specified by:
infoin interfaceReplicationLog- Parameters:
message- the log message
-
info
Description copied from interface:ReplicationLogLog a message with level info.- Specified by:
infoin interfaceReplicationLog- Parameters:
fmt- the message formatargs- the message arguments- See Also:
-
warn
Description copied from interface:ReplicationLogLog a message with level warn.- Specified by:
warnin interfaceReplicationLog- Parameters:
message- the log message
-
warn
Description copied from interface:ReplicationLogLog a message with level warn.- Specified by:
warnin interfaceReplicationLog- Parameters:
fmt- the message formatargs- the message arguments- See Also:
-
error
Description copied from interface:ReplicationLogLog a message with level error.- Specified by:
errorin interfaceReplicationLog- Parameters:
message- the log message
-
error
Description copied from interface:ReplicationLogLog a message with level error.- Specified by:
errorin interfaceReplicationLog- Parameters:
fmt- the message formatargs- the message arguments- See Also:
-