Class LogEventBase

java.lang.Object
de.businesscode.bcdui.logging.LogEventBase
All Implemented Interfaces:
Serializable, org.apache.logging.log4j.message.Message
Direct Known Subclasses:
ErrorLogEvent, LoginSqlLogger.LogRecord, LogoutSqlLogger.LogRecord, PageSqlLogger.LogRecord, SessionExpiredSqlLogger.LogRecord, SessionSqlLogger.LogRecord, SqlToDatabaseLogger.LogRecord, WrsAccessLogEvent

public abstract class LogEventBase extends Object implements org.apache.logging.log4j.message.Message
Base class for all log events that can occur in the frontend and should be logged into the database. Objects of all classes derived from this class should not be logged by class loggers but by virtloggers as defined in the BcdUiApplicationContextListener. Currently the class is empty and is only used for structuring. It can be extended in the future. It needs to implements the Message interface as of Log4J 2.x
See Also:
  • Constructor Details

    • LogEventBase

      public LogEventBase()
  • Method Details

    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface org.apache.logging.log4j.message.Message
    • getParameters

      public Object[] getParameters()
      Specified by:
      getParameters in interface org.apache.logging.log4j.message.Message
    • getThrowable

      public Throwable getThrowable()
      Specified by:
      getThrowable in interface org.apache.logging.log4j.message.Message