ca.uhn.hl7v2
Class FileLog

java.lang.Object
  extended by ca.uhn.hl7v2.Log
      extended by ca.uhn.hl7v2.FileLog

Deprecated. MUST USE jakarta-commons-logging

public class FileLog
extends Log

An implementation of Log that writes log data to files.

Author:
Bryan Tripp (bryan_tripp@sourceforge.net)

Constructor Summary
protected FileLog()
          Deprecated. Creates new FileLog.
 
Method Summary
 java.lang.String getDescription()
          Deprecated. Returns a description of where logged data are being stored.
 void log(java.lang.Exception e, java.lang.String message)
          Deprecated. Logs an Exception.
 void log(java.lang.String status)
          Deprecated. Logs a status message.
 
Methods inherited from class ca.uhn.hl7v2.Log
getInstance, main, tryToLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLog

protected FileLog()
           throws LogException
Deprecated. 
Creates new FileLog.

Throws:
LogException - if one of the log files can not be opened.
Method Detail

log

public void log(java.lang.Exception e,
                java.lang.String message)
         throws LogException
Deprecated. 
Description copied from class: Log
Logs an Exception.

Specified by:
log in class Log
Throws:
LogException - if there is an error writing to the log.

log

public void log(java.lang.String status)
         throws LogException
Deprecated. 
Description copied from class: Log
Logs a status message.

Specified by:
log in class Log
Throws:
LogException - if there is an error writing to the log.

getDescription

public java.lang.String getDescription()
Deprecated. 
Description copied from class: Log
Returns a description of where logged data are being stored. Implementing classes should return sufficient text to allow a human who reads this message to independently view information in the log (e.g. the file name, password for the database, etc.).

Specified by:
getDescription in class Log


Copyright © 2001-2011 University Health Network. All Rights Reserved.