public interface LogEntry
Modifier and Type | Interface and Description |
---|---|
static class |
LogEntry.Level
Log level.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Returns the source file name where the log emitted.
|
String |
getHost()
Returns hostname of where the log emitted.
|
int |
getLineNumber()
Returns the line number in the source file where the log emitted.
|
String |
getLoggerName()
Returns name of the logger.
|
LogEntry.Level |
getLogLevel()
Returns the log
LogEntry.Level of the log. |
String |
getMessage()
Returns the log message.
|
String |
getRunnableName()
Returns the runnable name.
|
String |
getSourceClassName()
Returns the class name where the log emitted.
|
String |
getSourceMethodName()
Returns the method name where the log emitted.
|
StackTraceElement[] |
getStackTraces()
Deprecated.
Use
getThrowable() instead. |
String |
getThreadName()
Returns the name of the thread where the log emitted.
|
LogThrowable |
getThrowable()
Returns the
Throwable information emitted with the log. |
long |
getTimestamp()
Returns timestamp of the log.
|
String getLoggerName()
String getHost()
long getTimestamp()
LogEntry.Level getLogLevel()
LogEntry.Level
of the log.String getSourceClassName()
String getSourceMethodName()
String getFileName()
int getLineNumber()
String getThreadName()
String getMessage()
String getRunnableName()
LogThrowable getThrowable()
Throwable
information emitted with the log.LogThrowable
or null
if Throwable
information is not available.@Deprecated StackTraceElement[] getStackTraces()
getThrowable()
instead.Throwable
information is not available.Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.