Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add format-id-fn and format-msg-fn to signal-preamble-fn params #34

Closed
wants to merge 1 commit into from

Conversation

Knotschi
Copy link
Contributor

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The - char before the msg is now part of the formatter fn.

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
@ptaoussanis ptaoussanis self-assigned this Nov 27, 2024
@ptaoussanis ptaoussanis added the enhancement New feature or request label Nov 27, 2024
@ptaoussanis ptaoussanis added this to the v1 final milestone Nov 27, 2024
ptaoussanis pushed a commit that referenced this pull request Nov 27, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
@ptaoussanis
Copy link
Member

Thanks! Merged manually 👍

ptaoussanis pushed a commit that referenced this pull request Dec 20, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
ptaoussanis pushed a commit that referenced this pull request Dec 20, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
ptaoussanis pushed a commit that referenced this pull request Dec 20, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
ptaoussanis pushed a commit that referenced this pull request Dec 22, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
ptaoussanis pushed a commit that referenced this pull request Dec 22, 2024
New opts:

  - `:format-id-fn`
  - `:format-msg-fn`

This way its easier to reuse signal-preamble-fn for custom handlers.
If nil is passed as any format fn: value won't be logged.
The `-` char before the msg is now part of the formatter fn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants