Constructor and Description |
---|
SystemLoggerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
log(org.refcodes.tabular.Record<? extends Object> aRecord)
Logs a
Record . |
public void log(org.refcodes.tabular.Record<? extends Object> aRecord) throws IllegalRecordRuntimeException, UnexpectedLogRuntimeException
Logger
Record
. The targeted data sink for the Record
instances (where them are physically stored) depends on the
implementation of the Logger
. It can be a console, a file, a
stream or a database.log
in interface Logger<Object>
aRecord
- The Record
to be logged.IllegalRecordRuntimeException
- Thrown in case the record cannot be
logged as a specific implementation might expect some dedicated
Column
instances to be contained in the provided Record.UnexpectedLogRuntimeException
- Thrown in case some other problems
regarding logging occurred, e.g. the data sink (physical system
where to log to) experiences problems.Copyright © 2016. All rights reserved.