Package com.day.cq.replication
Interface ReplicationLog
-
- All Known Implementing Classes:
ListenerLogDelegator
public interface ReplicationLog
ReplicationLog
...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ReplicationLog.Level
Log level
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
debug(String message)
Log a message with level debug.void
debug(String fmt, Object... args)
Log a message with level debug.void
error(String message)
Log a message with level error.void
error(String fmt, Object... args)
Log a message with level error.ReplicationLog.Level
getLevel()
Returns the log level of this logCollection<String>
getLines()
Returns the linesvoid
info(String message)
Log a message with level info.void
info(String fmt, Object... args)
Log a message with level info.void
setLevel(ReplicationLog.Level level)
Set the log levelvoid
warn(String message)
Log a message with level warn.void
warn(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...)
-
-