log
Interface LogContext
- All Known Implementing Classes:
- Log, SaleProcess
public interface LogContext
Any object that provides access to some log file through a log(log.Loggable)
method.
- Since:
- v2.0
- Author:
- Steffen Zschaler
Method Summary |
void |
log(Loggable l)
Logs the given data to a log file. |
log
void log(Loggable l)
throws LogNoOutputStreamException,
IOException
- Logs the given data to a log file.
- Parameters:
l
- the event to be logged.
- Throws:
LogNoOutputStreamException
- if no OutputStream has been
specified for the log file.
IOException
- if an IOException occurs when writing to the
log file.- Override:
- Always