Class 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 Detail

      • LogRecord

        public LogRecord​(java.lang.String jdbcMethod,
                         java.lang.String sql)
    • 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()