simtools.logging
Class LogRecordLoggingEntry

java.lang.Object
  extended by simtools.logging.LogRecordLoggingEntry
All Implemented Interfaces:
LoggingEntry

public class LogRecordLoggingEntry
extends java.lang.Object
implements LoggingEntry


Constructor Summary
LogRecordLoggingEntry(java.util.logging.LogRecord log)
           
 
Method Summary
 int getLevel()
           
 java.lang.String getLoggerName()
           
 java.lang.String getMessage()
           
 long getMillis()
           
 long getSequenceNumber()
           
 java.lang.String getSourceClassName()
           
 java.lang.String getSourceMethodName()
           
 int getThreadID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRecordLoggingEntry

public LogRecordLoggingEntry(java.util.logging.LogRecord log)
Method Detail

getLevel

public int getLevel()
Specified by:
getLevel in interface LoggingEntry
Returns:
the event level

getLoggerName

public java.lang.String getLoggerName()
Specified by:
getLoggerName in interface LoggingEntry
Returns:
name of the source Logger.

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface LoggingEntry
Returns:
the message

getMillis

public long getMillis()
Specified by:
getMillis in interface LoggingEntry
Returns:
event time in milliseconds since 1970

getSequenceNumber

public long getSequenceNumber()
Specified by:
getSequenceNumber in interface LoggingEntry
Returns:
the sequence number

getSourceClassName

public java.lang.String getSourceClassName()
Specified by:
getSourceClassName in interface LoggingEntry
Returns:
class that issued logging call

getSourceMethodName

public java.lang.String getSourceMethodName()
Specified by:
getSourceMethodName in interface LoggingEntry
Returns:
method that issued logging call

getThreadID

public int getThreadID()
Specified by:
getThreadID in interface LoggingEntry
Returns:
thread ID for thread that issued logging call.