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

fix(typescript): log.child options #924

Merged
merged 3 commits into from
Apr 28, 2019
Merged

Conversation

bobvanderlinden
Copy link
Contributor

Currently it is not possible to specify any fields for log lines using child other than the ones probot already specifies. Looking at the documentation of the underlying logging library used (https://github.com/trentm/node-bunyan#logchild) it shows any attribute can be used.

@bobvanderlinden bobvanderlinden requested a review from a team as a code owner April 28, 2019 20:12
src/wrap-logger.ts Outdated Show resolved Hide resolved
Co-Authored-By: bobvanderlinden <bobvanderlinden@gmail.com>
@gr2m
Copy link
Contributor

gr2m commented Apr 28, 2019

Looks like our linter does not like the change from interface to type:
https://travis-ci.org/probot/probot/jobs/525711061#L556

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squash & merge with fix(typescript): log.child options

@gr2m gr2m changed the title fix typing for log.child fix(typescript): log.child options Apr 28, 2019
@gr2m gr2m merged commit 6f75599 into probot:master Apr 28, 2019
@bobvanderlinden
Copy link
Contributor Author

Thank you!

@bobvanderlinden bobvanderlinden deleted the patch-1 branch April 28, 2019 21:21
@probotbot
Copy link

🎉 This PR is included in version 9.2.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

3 participants