Class JsonFormatter

java.lang.Object
java.util.logging.Formatter
org.jboss.logmanager.ExtFormatter
io.quarkus.devui.runtime.logstream.JsonFormatter

public class JsonFormatter extends org.jboss.logmanager.ExtFormatter
Formatting log records into a json format
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jboss.logmanager.ExtFormatter

    org.jboss.logmanager.ExtFormatter.Delegating
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    format(org.jboss.logmanager.ExtLogRecord logRecord)
     
    (package private) io.vertx.core.json.JsonObject
    toJsonObject(org.jboss.logmanager.ExtLogRecord logRecord)
     

    Methods inherited from class org.jboss.logmanager.ExtFormatter

    format, formatMessage, formatMessageLegacy, formatMessageNone, formatMessagePrintf, isCallerCalculationRequired, wrap

    Methods inherited from class java.util.logging.Formatter

    getHead, getTail

    Methods inherited from class java.lang.Object

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

    • JsonFormatter

      public JsonFormatter()
  • Method Details

    • format

      public String format(org.jboss.logmanager.ExtLogRecord logRecord)
      Specified by:
      format in class org.jboss.logmanager.ExtFormatter
    • toJsonObject

      io.vertx.core.json.JsonObject toJsonObject(org.jboss.logmanager.ExtLogRecord logRecord)