org.apache.karaf.shell.log
Class DisplayLog
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.karaf.shell.log.DisplayLog
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
- Direct Known Subclasses:
- LogTail
public class DisplayLog
- extends org.apache.karaf.shell.console.OsgiCommandSupport
Displays the last log entries
| Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
bundleContext, usedReferences |
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entries
protected int entries
overridenPattern
protected String overridenPattern
noColor
protected boolean noColor
pattern
protected String pattern
events
protected LruList events
fatalColor
protected String fatalColor
errorColor
protected String errorColor
warnColor
protected String warnColor
infoColor
protected String infoColor
debugColor
protected String debugColor
traceColor
protected String traceColor
DisplayLog
public DisplayLog()
getEvents
public LruList getEvents()
setEvents
public void setEvents(LruList events)
getPattern
public String getPattern()
setPattern
public void setPattern(String pattern)
getFatalColor
public String getFatalColor()
setFatalColor
public void setFatalColor(String fatalColor)
getErrorColor
public String getErrorColor()
setErrorColor
public void setErrorColor(String errorColor)
getWarnColor
public String getWarnColor()
setWarnColor
public void setWarnColor(String warnColor)
getInfoColor
public String getInfoColor()
setInfoColor
public void setInfoColor(String infoColor)
getDebugColor
public String getDebugColor()
setDebugColor
public void setDebugColor(String debugColor)
getTraceColor
public String getTraceColor()
setTraceColor
public void setTraceColor(String traceColor)
doExecute
protected Object doExecute()
throws Exception
- Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
- Throws:
Exception
display
protected void display(PatternConverter cnv,
org.ops4j.pax.logging.spi.PaxLoggingEvent event,
PrintStream stream)
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.