Logger Class

Used to log server activity to a text file. A new text file is created for each day.

Constructors

Logger( File logDir )
Logger( File logDir, Long maxFileSize, String timezone )

Public Methods

log( HttpServletRequest request ) returns void
Used to log web requests
log( String str ) returns void
Used to add a string to the log file. The string will be terminated with a line break.
run( ) returns void
Used to remove an entry from the queue and write it to a file.
getDate( ) returns javaxt.utils.Date
Returns a new Date object with the current time. The date will be set to whatever time zone was used to instantiate this class (default is UTC).