Package io.helidon.webserver.accesslog
Class TimestampLogEntry.Builder
java.lang.Object
io.helidon.webserver.accesslog.AbstractLogEntry.Builder<TimestampLogEntry,TimestampLogEntry.Builder>
io.helidon.webserver.accesslog.TimestampLogEntry.Builder
- All Implemented Interfaces:
io.helidon.common.Builder<TimestampLogEntry.Builder,,TimestampLogEntry> Supplier<TimestampLogEntry>
- Enclosing class:
- TimestampLogEntry
public static final class TimestampLogEntry.Builder
extends AbstractLogEntry.Builder<TimestampLogEntry,TimestampLogEntry.Builder>
A fluent API builder for
HostLogEntry.-
Method Summary
Modifier and TypeMethodDescriptionbuild()formatter(DateTimeFormatter formatter) Configure a date time formatter to use with this log entry.Methods inherited from class io.helidon.webserver.accesslog.AbstractLogEntry.Builder
lPad, maxLength, noPad, rPad, sanitizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.Builder
get, identity, update
-
Method Details
-
build
-
formatter
Configure a date time formatter to use with this log entry. Default format is "\'[\'dd/MMM/YYYY:HH:mm:ss ZZZ\']\'".- Parameters:
formatter- date time format to use, should contain text separaters (such as[]).- Returns:
- updated builder instance
-