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

feat: configurable log handler hook #17

Closed
wants to merge 4 commits into from

Conversation

kazazes
Copy link

@kazazes kazazes commented May 29, 2020

Configurable via the logger's settings and inheritable by children. Function receives the native output object after before being printed. Defaults to false.

closes graphql-nexus/nexus#945.

TODO

  • docs
  • tests

Closes graphql-nexus/nexus#943

Function receives the native log object after before being printed. Configurable via the logger's settings and inheritable by children. Defaults to false.
@kazazes kazazes changed the title feat: impl log handler setting feat: configurable log handler hook May 29, 2020
@kazazes
Copy link
Author

kazazes commented May 29, 2020

This fills my need of cc'ing log server. Let me know if it jibes and I'll do docs.

@jasonkuhrt
Copy link
Owner

Thanks @kazazes! I sketched quite a different vision, but spurred by your use-case. graphql-nexus/nexus#945 (comment)

@kazazes kazazes closed this Jul 3, 2020
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.

Access log data from application
2 participants