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

refactor: server.logger() function removed in favor of server.logger #99

Merged
merged 1 commit into from
Apr 12, 2020

Conversation

GoPro16
Copy link
Contributor

@GoPro16 GoPro16 commented Mar 12, 2020

BREAKING CHANGE: Instead of calling server.logger() to get the logger instance of the server it can now be destructured directly server.logger

Closes #98

BREAKING CHANGE: Instead of calling `server.logger()` to get the logger instance of the server it can now be destructured directly `server.logger`
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.031% when pulling a9b2ec9 on GoPro16:refactor/server-logger into 2d57bb6 on pinojs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.031% when pulling a9b2ec9 on GoPro16:refactor/server-logger into 2d57bb6 on pinojs:master.

@mcollina
Copy link
Collaborator

@felixheck @davidmarkclements what do you think?

@GoPro16
Copy link
Contributor Author

GoPro16 commented Apr 11, 2020

I hate to be that guy, but just wondering if we landed anywhere on the usefulness of this PR? 😄

@mcollina mcollina merged commit a13eb88 into hapijs:master Apr 12, 2020
@GoPro16 GoPro16 deleted the refactor/server-logger branch April 13, 2020 04:56
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.

Question | Hapi Pino Decorates Server Object with Logger as a Function
3 participants