com.bristle.javalib.log
Class Logger.Entry

java.lang.Object
  extended by com.bristle.javalib.log.Logger.Entry
Enclosing class:
Logger

public static class Logger.Entry
extends Object

This class represents a log entry that can be sent by a Logger to a LoggerTarget.


Field Summary
private  String m_strAppName
           
private  String m_strAppVersion
           
private  String m_strDateTime
           
private  String m_strLevel
           
private  String m_strMillisecs
           
private  String m_strMsg
           
private  String m_strThreadName
           
private  String m_strTotalMem
           
private  String m_strUsedMem
           
private  String m_strUsername
           
 
Constructor Summary
Logger.Entry(String strDateTime, String strAppName, String strAppVersion, String strUsername, String strThreadName, String strMillisecs, String strUsedMem, String strTotalMem, String strLevel, String strMsg)
           
 
Method Summary
 String getAppName()
           
 String getAppVersion()
           
 String getDateTime()
           
 String getFormattedLogLine()
           
 String getFormattedLogLine(boolean blnDateTime, boolean blnAppName, boolean blnAppVersion, boolean blnUsername, boolean blnThreadName, boolean blnMillisecs, boolean blnUsedMem, boolean blnTotalMem, boolean blnLevel, boolean blnDots, boolean blnMsg)
           
 String getLevel()
           
 String getMillisecs()
           
 String getMsg()
           
 String getThreadName()
           
 String getTotalMem()
           
 String getUsedMem()
           
 String getUsername()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strDateTime

private String m_strDateTime

m_strAppName

private String m_strAppName

m_strAppVersion

private String m_strAppVersion

m_strUsername

private String m_strUsername

m_strThreadName

private String m_strThreadName

m_strMillisecs

private String m_strMillisecs

m_strUsedMem

private String m_strUsedMem

m_strTotalMem

private String m_strTotalMem

m_strLevel

private String m_strLevel

m_strMsg

private String m_strMsg
Constructor Detail

Logger.Entry

public Logger.Entry(String strDateTime,
                    String strAppName,
                    String strAppVersion,
                    String strUsername,
                    String strThreadName,
                    String strMillisecs,
                    String strUsedMem,
                    String strTotalMem,
                    String strLevel,
                    String strMsg)
Method Detail

getDateTime

public String getDateTime()

getAppName

public String getAppName()

getAppVersion

public String getAppVersion()

getUsername

public String getUsername()

getThreadName

public String getThreadName()

getMillisecs

public String getMillisecs()

getUsedMem

public String getUsedMem()

getTotalMem

public String getTotalMem()

getLevel

public String getLevel()

getMsg

public String getMsg()

getFormattedLogLine

public String getFormattedLogLine(boolean blnDateTime,
                                  boolean blnAppName,
                                  boolean blnAppVersion,
                                  boolean blnUsername,
                                  boolean blnThreadName,
                                  boolean blnMillisecs,
                                  boolean blnUsedMem,
                                  boolean blnTotalMem,
                                  boolean blnLevel,
                                  boolean blnDots,
                                  boolean blnMsg)

getFormattedLogLine

public String getFormattedLogLine()