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)
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)