Package org.xwiki.logging.tail
Interface LoggerTail
-
- All Superinterfaces:
AutoCloseable
,Iterable<LogEvent>
,org.slf4j.Logger
,Logger
,LogTail
- All Known Implementing Classes:
LogQueue
public interface LoggerTail extends Logger, LogTail, AutoCloseable
ExtendsLogger
and provide tail-like APIs to navigate in it.- Since:
- 11.9RC1
- Version:
- $Id: b97b621181d7496bbb55d8005f81d27b9992c336 $
-
-
Field Summary
-
Fields inherited from interface org.xwiki.logging.Logger
ROOT_MARKER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
Force writing and wait for any writing to be finished.-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, makeLoggingEventBuilder, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from interface org.xwiki.logging.tail.LogTail
getFirstLogEvent, getFirstLogEvent, getLastLogEvent, getLastLogEvent, getLogEvent, getLogEvents, getLogEvents, getLogEvents, hasLogLevel, log, size
-
-
-
-
Method Detail
-
flush
void flush() throws IOException
Force writing and wait for any writing to be finished.- Throws:
IOException
- when failing to flush
-
-