Package de.businesscode.bcdui.logging
Class SqlToDatabaseLogger.LogRecord
- java.lang.Object
-
- de.businesscode.bcdui.logging.LogEventBase
-
- de.businesscode.bcdui.logging.SqlToDatabaseLogger.LogRecord
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.logging.log4j.message.Message
- Enclosing class:
- SqlToDatabaseLogger
public static final class SqlToDatabaseLogger.LogRecord extends LogEventBase
record being logged into db- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogRecord(java.lang.String jdbcMethod, java.lang.String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormattedMessage()
void
setDurationMs(long durationMs)
void
setPageHash(java.lang.String pageHash)
void
setRequestHash(java.lang.String requestHash)
void
setRowsAffected(java.lang.Integer rowsAffected)
void
setSessionId(java.lang.String sessionId)
-
Methods inherited from class de.businesscode.bcdui.logging.LogEventBase
getFormat, getParameters, getThrowable
-
-
-
-
Method Detail
-
setDurationMs
public void setDurationMs(long durationMs)
-
setRowsAffected
public void setRowsAffected(java.lang.Integer rowsAffected)
-
setSessionId
public void setSessionId(java.lang.String sessionId)
-
setPageHash
public void setPageHash(java.lang.String pageHash)
-
setRequestHash
public void setRequestHash(java.lang.String requestHash)
-
getFormattedMessage
public java.lang.String getFormattedMessage()
-
-