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
-
Field Summary
Fields inherited from class com.google.gerrit.util.logging.JsonLayout
timestampFormatter
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gerrit.util.logging.JsonLogEntry
toJsonLogEntry
(org.apache.log4j.spi.LoggingEvent event) Methods inherited from class com.google.gerrit.util.logging.JsonLayout
activateOptions, format, ignoresThrowable
Methods inherited from class org.apache.log4j.Layout
getContentType, getFooter, getHeader
-
Constructor Details
-
SshLogJsonLayout
public SshLogJsonLayout()
-
-
Method Details
-
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
-