protected static class AbstractAccessLogValve.ElapsedTimeElement extends Object implements AbstractAccessLogValve.AccessLogElement
Constructor and Description |
---|
ElapsedTimeElement(boolean micros,
boolean millis) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(CharArrayWriter buf,
Date date,
Request request,
Response response,
long time) |
public ElapsedTimeElement(boolean micros, boolean millis)
micros
- true
, write time in microseconds - %Dmillis
- true
, write time in milliseconds,
if both arguments are false
, write time in seconds - %Tpublic void addElement(CharArrayWriter buf, Date date, Request request, Response response, long time)
addElement
in interface AbstractAccessLogValve.AccessLogElement
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.