Class FormattedLogger
java.lang.Object
de.hybris.platform.jdbcwrapper.logger.FormattedLogger
- All Implemented Interfaces:
JDBCLogger
- Direct Known Subclasses:
JDBCSLF4JAwareLogger,StdoutLogger
stdout, and file logger all use the same format so we descend from this class. also, they all have to do the get and
setLastEntry stuff so we go ahead and do the work here.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.jdbcwrapper.logger.JDBCLogger
logException, logException, logSQL, logText, logText
-
Constructor Details
-
FormattedLogger
public FormattedLogger()
-
-
Method Details
-
logSQL
public void logSQL(long threadId, String dataSourceID, int connectionId, String now, long elapsed, String category, String prepared, String sql) - Specified by:
logSQLin interfaceJDBCLogger
-
setLastEntry
-
getLastEntry
- Specified by:
getLastEntryin interfaceJDBCLogger
-