Class AuditEventDefaultFormatter

  • All Implemented Interfaces:
    AuditEventFormatter

    public class AuditEventDefaultFormatter
    extends java.lang.Object
    implements AuditEventFormatter
    Represents the default formatter for log message. Default log message format is: [SEVERITY LEVEL] filePath:lineNo:columnNo: message. [CheckName] When the module id of the message has been set, the format is: [SEVERITY LEVEL] filePath:lineNo:columnNo: message. [ModuleId]
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(AuditEvent event)
      Formats an event message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuditEventDefaultFormatter

        public AuditEventDefaultFormatter()
    • Method Detail

      • format

        public java.lang.String format​(AuditEvent event)
        Description copied from interface: AuditEventFormatter
        Formats an event message.
        Specified by:
        format in interface AuditEventFormatter
        Parameters:
        event - audit event.
        Returns:
        string representation of event message.