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

Missing Documentation for opts.logger option #40

Open
iamjochem opened this issue Sep 8, 2016 · 0 comments · May be fixed by #46
Open

Missing Documentation for opts.logger option #40

iamjochem opened this issue Sep 8, 2016 · 0 comments · May be fixed by #46

Comments

@iamjochem
Copy link

hi there,

your lib makes it possible to pass in a pre-existing bunyan instance (which will be used in preference of creating a new bunyan instance if given), see here:

https://github.com/villadora/express-bunyan-logger/blob/master/index.js#L28

... but this does not seem to be documented.

PS: you might want to check that opts.logger is, if swet, actually an instance of bunyan before using it.

BendingBender added a commit to BendingBender/express-bunyan-logger that referenced this issue Sep 15, 2017
@BendingBender BendingBender linked a pull request Sep 15, 2017 that will close this issue
BendingBender added a commit to BendingBender/express-bunyan-logger that referenced this issue Jan 20, 2021
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 a pull request may close this issue.

1 participant