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.


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()