public class DefaultDistributionLog extends Object implements DistributionLog
DistributionLog
Modifier and Type | Class and Description |
---|---|
static class |
DefaultDistributionLog.LogLevel
Log level
|
Constructor and Description |
---|
DefaultDistributionLog(DistributionComponentKind kind,
String name,
Class<?> clazz,
DefaultDistributionLog.LogLevel logLevel) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String fmt,
Object... objects) |
void |
error(String fmt,
Object... objects) |
DistributionComponentKind |
getKind() |
List<String> |
getLines()
get the text log lines
|
String |
getName() |
void |
info(boolean silent,
String fmt,
Object... objects) |
void |
info(String fmt,
Object... objects) |
void |
warn(String fmt,
Object... objects) |
public DefaultDistributionLog(DistributionComponentKind kind, String name, Class<?> clazz, DefaultDistributionLog.LogLevel logLevel)
public String getName()
public DistributionComponentKind getKind()
public List<String> getLines()
DistributionLog
getLines
in interface DistributionLog
Collection
of the log linesCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.