public class LogEvent
extends java.lang.Object
implements java.io.Serializable
构造器和说明 |
---|
LogEvent(java.lang.String loggerName,
Level level,
java.util.Map<java.lang.String,java.lang.String> metainfo,
java.lang.Object content,
long timeStamp,
java.lang.String threadName,
java.lang.Throwable throwable) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
getContent()
获取内容
|
Level |
getLevel()
获取级别
|
java.lang.String |
getLoggerName()
获取日志器名称
|
java.util.Map<java.lang.String,java.lang.String> |
getMetainfo()
获取元信息
|
java.lang.String |
getThreadName()
获取线程名
|
java.lang.Throwable |
getThrowable()
异常
|
long |
getTimeStamp()
获取时间戳
|
public LogEvent(java.lang.String loggerName, Level level, java.util.Map<java.lang.String,java.lang.String> metainfo, java.lang.Object content, long timeStamp, java.lang.String threadName, java.lang.Throwable throwable)
public java.lang.String getLoggerName()
public Level getLevel()
public java.util.Map<java.lang.String,java.lang.String> getMetainfo()
public java.lang.Object getContent()
public long getTimeStamp()
public java.lang.String getThreadName()
public java.lang.Throwable getThrowable()