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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class com.google.gerrit.util.logging.JsonLayout