Package com.google.gerrit.sshd
Class SshLogJsonLayout
- java.lang.Object
-
- org.apache.log4j.Layout
-
- com.google.gerrit.util.logging.JsonLayout
-
- com.google.gerrit.sshd.SshLogJsonLayout
-
- All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler
public class SshLogJsonLayout extends com.google.gerrit.util.logging.JsonLayout
-
-
Constructor Summary
Constructors Constructor Description SshLogJsonLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeFormatter
createDateTimeFormatter()
com.google.gerrit.util.logging.JsonLogEntry
toJsonLogEntry(org.apache.log4j.spi.LoggingEvent event)
-
-
-
Method Detail
-
createDateTimeFormatter
public DateTimeFormatter createDateTimeFormatter()
- Specified by:
createDateTimeFormatter
in classcom.google.gerrit.util.logging.JsonLayout
-
toJsonLogEntry
public com.google.gerrit.util.logging.JsonLogEntry toJsonLogEntry(org.apache.log4j.spi.LoggingEvent event)
- Specified by:
toJsonLogEntry
in classcom.google.gerrit.util.logging.JsonLayout
-
-