Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Added support for log hooks #17

Merged
merged 2 commits into from
Jan 28, 2019
Merged

Added support for log hooks #17

merged 2 commits into from
Jan 28, 2019

Conversation

davidsbond
Copy link
Owner

  • Created ForceLog.Hook interface with fire method that is invoked on every write.
  • This can be used to make modifications to logs in custom ways, like adding syslog levels based on the log level for example

@davidsbond davidsbond added the enhancement New feature or request label Jan 28, 2019
@davidsbond davidsbond self-assigned this Jan 28, 2019
@davidsbond davidsbond merged commit 677ae0b into master Jan 28, 2019
@davidsbond davidsbond deleted the hooks branch January 28, 2019 13:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant