java.lang.Object
org.refcodes.logger.SystemLogger
- All Implemented Interfaces:
LogDecorator
,Logger<Object>
Very plain implementation of the logger interface, mainly used as fallback
Logger
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(org.refcodes.tabular.Record<?> aRecord) Logs aRecord
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.logger.LogDecorator
printHead, printSeparator, printTail
-
Constructor Details
-
SystemLogger
public SystemLogger()
-
-
Method Details
-
log
public void log(org.refcodes.tabular.Record<?> aRecord) Logs aRecord
. The targeted data sink for theRecord
instances (where them are physically stored) depends on the implementation of theLogger
. It can be a console, a file, a stream or a database.
-