class JsonLayout extends JsonLayoutBase<IAccessEvent> {

    protected void addRequestTime(long requestTime, Map<String, Object> map) {
        if (this.includeRequestTime && requestTime > 0) {
            final long sec = TimeUnit.MILLISECONDS.toSeconds(requestTime);
            final long ms = TimeUnit.MILLISECONDS.toMillis(requestTime - TimeUnit.SECONDS.toMillis(sec));
            String time = String.format("%01d.%03d", sec, ms);
            if (time != null) {
                map.put(REQUESTTIME_ATTR_NAME, time);
            }
        }
    }

    public  JsonLayout();

}