You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the --zap-time-encoding flag to specify the output format of the log
timestamp. Allows:
epoch (floating-point number of seconds since the Unix epoch),
nanos (integer of nanoseconds since the Unix epoch),
millis (floating-point number of milliseconds since the Unix epoch),
iso8601 (ISO8601-formatted string with millisecond precision),
rfc3339 (RFC3339-formatted string) and
rfc3339nano (RFC3339-formatted string with nanosecond precision).
Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
fs.Var(&timeEncoderVal, "zap-time-encoding", "Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.")
276
293
}
277
294
278
295
// UseFlagOptions configures the logger to use the Options set by parsing zap option flags from the CLI.
0 commit comments