darto_logger 1.0.0 copy "darto_logger: ^1.0.0" to clipboard
darto_logger: ^1.0.0 copied to clipboard

Structured logging for the Darto web framework — JSON or pretty output, levels, bound fields and a request-logging middleware with request-id correlation.

1.0.0 #

  • Initial release.
  • Logger — structured logging with levels (debug/info/warn/error), JSON or pretty output, a custom output sink, and child(fields) to bind contextual fields (e.g. a request id) onto every line.
  • requestLogger(logger) middleware — logs method, path, status and durationMs per request, correlating with the id from requestId().
1
likes
150
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Structured logging for the Darto web framework — JSON or pretty output, levels, bound fields and a request-logging middleware with request-id correlation.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

darto

More

Packages that depend on darto_logger