SalesPoint Framework v3.0

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.

Hooks:
Incorporate New Log Type
Since:
v1.0
Version:
1.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

public Log createLog(OutputStream os)
Create a new log file using the given OutputStream. Called by Log.createLog(java.io.OutputStream).
Override:
Always.
Parameters:
oo - the OutputStream to be used.
Hooks:
Incorporate New Log Type
See Also:
Log.createLog(java.io.OutputStream)

SalesPoint Framework v3.0