org.openmobileis.synchro.openmsp.server
Class OpenMSPServiceTracer

java.lang.Object
  extended byorg.openmobileis.common.util.log.DefaultLogTracer
      extended byorg.openmobileis.common.util.log.FileLogTracer
          extended byorg.openmobileis.synchro.openmsp.server.OpenMSPServiceTracer
All Implemented Interfaces:
LogTracer

public class OpenMSPServiceTracer
extends FileLogTracer

Title: OpenMobileIS project source
Description: Tracer to log user synchro.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Field Summary
 
Fields inherited from class org.openmobileis.common.util.log.FileLogTracer
fileStream, logFile
 
Fields inherited from class org.openmobileis.common.util.log.DefaultLogTracer
outStream
 
Constructor Summary
OpenMSPServiceTracer()
           
 
Method Summary
 void setLogTracerProperties(java.util.Properties props)
          Two property are defined : LOGFILE : file where log are written.
 void trace(int service, int priority, java.lang.String message)
          Trace the message to the stream defined by the specified priority and service.
 
Methods inherited from class org.openmobileis.common.util.log.DefaultLogTracer
finalize, getLogPrintStream, setLogStream
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenMSPServiceTracer

public OpenMSPServiceTracer()
Method Detail

setLogTracerProperties

public void setLogTracerProperties(java.util.Properties props)
Two property are defined : LOGFILE : file where log are written. LOGDIRARCHIVE : directory where old log are archived.

Specified by:
setLogTracerProperties in interface LogTracer
Overrides:
setLogTracerProperties in class FileLogTracer

trace

public void trace(int service,
                  int priority,
                  java.lang.String message)
Trace the message to the stream defined by the specified priority and service.

Specified by:
trace in interface LogTracer
Overrides:
trace in class DefaultLogTracer


Copyright 2006 OpenMobileIS. All Rights Reserved.