Class DefaultDistributionLog
- java.lang.Object
-
- org.apache.sling.distribution.journal.shared.DefaultDistributionLog
-
- All Implemented Interfaces:
org.apache.sling.distribution.log.spi.DistributionLog
public class DefaultDistributionLog extends Object implements org.apache.sling.distribution.log.spi.DistributionLog
Default implementation of aDistributionLog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultDistributionLog.LogLevel
Log level
-
Constructor Summary
Constructors Constructor Description DefaultDistributionLog(String name, Class<?> clazz, DefaultDistributionLog.LogLevel logLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String fmt, Object... objects)
void
error(String fmt, Object... objects)
List<String>
getLines()
String
getName()
void
info(boolean silent, String fmt, Object... objects)
void
info(String fmt, Object... objects)
void
warn(String fmt, Object... objects)
-
-
-
Constructor Detail
-
DefaultDistributionLog
public DefaultDistributionLog(String name, Class<?> clazz, DefaultDistributionLog.LogLevel logLevel)
-
-