SalesPoint Framework v3.1

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

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

See Also:
Log.createLog(java.io.OutputStream)
Override:
Always

SalesPoint Framework v3.1