Module structlog.processors.timestamper

Add a formatted 'timestamp' entry to the log entries.

# The format specification can be found here: lua-5.4 manual and cppreference: strftime

Functions

Timestamper (format) Add a timestamp entry.


Functions

Timestamper (format)
Add a timestamp entry.

Parameters:

  • format The format string passed to os.date.

Returns:

    A callable function returning the updated log entry.
generated by LDoc 1.4.6 Last updated 2023-01-08 13:36:35