Package com.puppycrawl.tools.checkstyle
Class AuditEventDefaultFormatter
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.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]
-
-
Constructor Summary
Constructors Constructor Description AuditEventDefaultFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(AuditEvent event)
Formats an event message.
-
-
-
Method Detail
-
format
public java.lang.String format(AuditEvent event)
Description copied from interface:AuditEventFormatter
Formats an event message.- Specified by:
format
in interfaceAuditEventFormatter
- Parameters:
event
- audit event.- Returns:
- string representation of event message.
-
-