SalesPoint v3.3 API

log
Interface LogCreator


public interface LogCreator

Abstract Factory for Log creation.

Instances of this class (or subclasses of it) are used to define the class to be instantiated when creating new log files. The Log.setLogCreator(log.LogCreator) takes as a parameter a LogCreator, which will then be used when creating new log files.

Since:
v1.0
Author:
Steffen Zschaler
See Also:
Log, Log.setLogCreator(log.LogCreator), Log.createLog(java.io.OutputStream)

Method Summary
 Log createLog(OutputStream os)
          Create a new log file using the given OutputStream.
 

Method Detail

createLog

Log createLog(OutputStream os)
Create a new log file using the given OutputStream. Called by Log.createLog(java.io.OutputStream).

Parameters:
os - the OutputStream to be used.
See Also:
Log.createLog(java.io.OutputStream)
Override:
Always

SalesPoint v3.3 API