Skip to content

Conversation

@nicola88
Copy link

As discussed in the linked issue, I updated the documentation and tests to customize Pino hooks and intercept and manipulate logging arguments, which will be used for audit logs.

The current version of lc39 already allows to pass the custom hook in the hooks field of the Pino logger options, so no specific change was required.

Checklist

  • your branch will not cause merge conflict with master
  • run npm test
  • tests are included
  • the documentation is updated or integrated accordingly with your changes
  • the code will follow the lint rules and style of the project
  • you are not committing extraneous files or sensible data

Copy link
Contributor

@fredmaggiowski fredmaggiowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fredmaggiowski fredmaggiowski linked an issue May 3, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pino logMethod hook to format audit logs

3 participants