Class JSONFormatter


  • public class JSONFormatter
    extends java.lang.Object
    Formatting of an AccessLogEntry in the Vespa JSON access log format.
    Author:
    frodelu
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONFormatter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(RequestLogEntry entry, java.io.OutputStream outputStream)  
      • Methods inherited from class java.lang.Object

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

      • JSONFormatter

        public JSONFormatter()
    • Method Detail

      • write

        public void write​(RequestLogEntry entry,
                          java.io.OutputStream outputStream)
                   throws java.io.IOException
        Throws:
        java.io.IOException