Package com.day.cq.replication
Interface ReplicationLog
-
- All Known Implementing Classes:
ListenerLogDelegator
public interface ReplicationLogReplicationLog...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classReplicationLog.LevelLog level
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddebug(String message)Log a message with level debug.voiddebug(String fmt, Object... args)Log a message with level debug.voiderror(String message)Log a message with level error.voiderror(String fmt, Object... args)Log a message with level error.ReplicationLog.LevelgetLevel()Returns the log level of this logCollection<String>getLines()Returns the linesvoidinfo(String message)Log a message with level info.voidinfo(String fmt, Object... args)Log a message with level info.voidsetLevel(ReplicationLog.Level level)Set the log levelvoidwarn(String message)Log a message with level warn.voidwarn(String fmt, Object... args)Log a message with level warn.
-
-
-
Method Detail
-
getLevel
ReplicationLog.Level getLevel()
Returns the log level of this log- Returns:
- the log level
-
setLevel
void setLevel(ReplicationLog.Level level)
Set the log level- Parameters:
level- the log level
-
getLines
Collection<String> getLines()
Returns the lines- Returns:
- the lines.
-
debug
void debug(String message)
Log a message with level debug.- Parameters:
message- the log message
-
debug
void debug(String fmt, Object... args)
Log a message with level debug.- Parameters:
fmt- the message formatargs- the message arguments- See Also:
String.format(String, Object...)
-
info
void info(String message)
Log a message with level info.- Parameters:
message- the log message
-
info
void info(String fmt, Object... args)
Log a message with level info.- Parameters:
fmt- the message formatargs- the message arguments- See Also:
String.format(String, Object...)
-
warn
void warn(String message)
Log a message with level warn.- Parameters:
message- the log message
-
warn
void warn(String fmt, Object... args)
Log a message with level warn.- Parameters:
fmt- the message formatargs- the message arguments- See Also:
String.format(String, Object...)
-
error
void error(String message)
Log a message with level error.- Parameters:
message- the log message
-
error
void error(String fmt, Object... args)
Log a message with level error.- Parameters:
fmt- the message formatargs- the message arguments- See Also:
String.format(String, Object...)
-
-