Package com.elvishew.xlog
Class LogItem
- java.lang.Object
-
- com.elvishew.xlog.LogItem
-
public class LogItem extends java.lang.ObjectRepresent a single log going to be printed.- Since:
- 1.3.0
-
-
Field Summary
Fields Modifier and Type Field Description intlevelLevel of the log.java.lang.StringmsgThe formatted message, should not be null.java.lang.StringstackTraceInfoThe formatted stack trace info, null if stack trace info is disabled.java.lang.StringtagThe tag, should not be null.java.lang.StringthreadInfoThe formatted thread info, null if thread info is disabled.
-
-
-
Field Detail
-
level
public int level
Level of the log.- See Also:
LogLevel
-
tag
public java.lang.String tag
The tag, should not be null.
-
msg
public java.lang.String msg
The formatted message, should not be null.
-
threadInfo
public java.lang.String threadInfo
The formatted thread info, null if thread info is disabled.
-
stackTraceInfo
public java.lang.String stackTraceInfo
The formatted stack trace info, null if stack trace info is disabled.
-
-