daoc.editor
Class LogEntry

java.lang.Object
  extended bydaoc.editor.LogEntry

public class LogEntry
extends java.lang.Object

A single entry of log information.


Field Summary
 java.lang.Throwable exception
           
 java.lang.String message
           
static int MSG_DEBUG
           
static int MSG_ERROR
           
static int MSG_INFO
           
static int MSG_WARN
           
 java.lang.String timestamp
           
 int type
           
 
Constructor Summary
LogEntry(int type, java.lang.String message)
           
LogEntry(int type, java.lang.String message, java.lang.Throwable exception)
           
 
Method Summary
static java.lang.String getTypeString(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MSG_INFO

public static final int MSG_INFO
See Also:
Constant Field Values

MSG_WARN

public static final int MSG_WARN
See Also:
Constant Field Values

MSG_ERROR

public static final int MSG_ERROR
See Also:
Constant Field Values

MSG_DEBUG

public static final int MSG_DEBUG
See Also:
Constant Field Values

type

public int type

timestamp

public java.lang.String timestamp

message

public java.lang.String message

exception

public java.lang.Throwable exception
Constructor Detail

LogEntry

public LogEntry(int type,
                java.lang.String message)

LogEntry

public LogEntry(int type,
                java.lang.String message,
                java.lang.Throwable exception)
Method Detail

toString

public java.lang.String toString()

getTypeString

public static java.lang.String getTypeString(int type)