org.openmobileis.common.util.log.FileOpenCloseLogTracer Class Reference

Inheritance diagram for org.openmobileis.common.util.log.FileOpenCloseLogTracer:

org.openmobileis.common.util.log.DefaultLogTracer org.openmobileis.common.util.log.LogTracer List of all members.

Detailed Description

Title: OpenMobileIS project source
Implement a LogTracer that Log in a File.

The File is define by specifing the property LOGFILE. Implements an archiving system. Define the property LOGDIRARCHIVE to define the directory where log are archived.

Author:
P.Delrieu
Version:
1.0
Since:
JDK1.1

Definition at line 41 of file FileOpenCloseLogTracer.java.

Public Member Functions

 FileOpenCloseLogTracer ()
void setLogTracerProperties (Properties props)
 Two property are defined : LOGFILE : file where log are written.
synchronized void trace (int service, int priority, String message)
 Trace the message to the stream defined showing the specified priority and service.
File getLogFile ()

Protected Attributes

FileOutputStream fileStream
String logFile


Member Function Documentation

void org.openmobileis.common.util.log.FileOpenCloseLogTracer.setLogTracerProperties ( Properties  props  ) 

Two property are defined : LOGFILE : file where log are written.

LOGDIRARCHIVE : directory where old log are archived.

Reimplemented from org.openmobileis.common.util.log.DefaultLogTracer.

Definition at line 54 of file FileOpenCloseLogTracer.java.

References org.openmobileis.common.util.log.FileOpenCloseLogTracer.logFile, and org.openmobileis.common.util.log.DefaultLogTracer.outStream.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:34 2006 for OpenMobileIS by  doxygen 1.5.1-p1