public class DisplayLog extends LogCommandSupport
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG_INT |
protected int |
entries |
static int |
ERROR_INT |
protected org.apache.karaf.log.core.LogEventFormatter |
formatter |
static int |
INFO_INT |
protected boolean |
noColor |
protected String |
overridenPattern |
static int |
WARN_INT |
logService| Constructor and Description |
|---|
DisplayLog() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfFromRequestedLog(org.ops4j.pax.logging.spi.PaxLoggingEvent event) |
protected Object |
doExecute() |
protected void |
printEvent(PrintStream out,
org.ops4j.pax.logging.spi.PaxLoggingEvent event) |
void |
setFormatter(org.apache.karaf.log.core.LogEventFormatter formatter) |
setLogServicepublic static final int ERROR_INT
public static final int WARN_INT
public static final int INFO_INT
public static final int DEBUG_INT
protected int entries
protected String overridenPattern
protected boolean noColor
protected org.apache.karaf.log.core.LogEventFormatter formatter
public void setFormatter(org.apache.karaf.log.core.LogEventFormatter formatter)
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionprotected boolean checkIfFromRequestedLog(org.ops4j.pax.logging.spi.PaxLoggingEvent event)
protected void printEvent(PrintStream out, org.ops4j.pax.logging.spi.PaxLoggingEvent event)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.