Package com.iizix
Class LogEntry
java.lang.Object
com.iizix.LogEntry
The log entry.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- final intLevel of the event.- final StringThe logger name.- final StringThe event message with potential "LF" characters for line breaks (no CR/LF, just LF).- final StringThe originator of the event.- final StringThe Thread.toString() of the event.- final longTime stamp of the event.
- Constructor SummaryConstructors
- Method Summary
- Field Details- timeStamppublic final long timeStampTime stamp of the event.
- levelpublic final int levelLevel of the event.
- loggerNameThe logger name.
- originatorThe originator of the event.
- threadThe Thread.toString() of the event.
- msgThe event message with potential "LF" characters for line breaks (no CR/LF, just LF).
 
- Constructor Details- LogEntrypublic LogEntry- (long timeStamp, int level, String loggerName, String originator, String thread, String msg) Called when an event is logged.- Parameters:
- timeStamp- the time stamp of the event.
- level- the log level 1-7 (SEVERE-FINEST).
- loggerName- name of the logger.
- originator- the originator of the event,- nullif not defined.
- thread- the thread ID.
- msg- the message to be logged.
- See Also:
 
 
- Method Details- toStringFormats the log entry as standard for printing to e.g. file or console.