com.github.dreamhead.moco.monitor
Class DefaultLogFormatter

java.lang.Object
  extended by com.github.dreamhead.moco.monitor.DefaultLogFormatter
All Implemented Interfaces:
LogFormatter

public class DefaultLogFormatter
extends java.lang.Object
implements LogFormatter


Constructor Summary
DefaultLogFormatter()
           
 
Method Summary
 java.lang.String format(java.lang.Exception e)
           
 java.lang.String format(io.netty.handler.codec.http.FullHttpResponse response)
           
 java.lang.String format(HttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLogFormatter

public DefaultLogFormatter()
Method Detail

format

public java.lang.String format(HttpRequest request)
Specified by:
format in interface LogFormatter

format

public java.lang.String format(io.netty.handler.codec.http.FullHttpResponse response)
Specified by:
format in interface LogFormatter

format

public java.lang.String format(java.lang.Exception e)
Specified by:
format in interface LogFormatter