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(types): Allow any object to be passed as meta to logger.profile #2314

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

sokki
Copy link
Contributor

@sokki sokki commented Jun 20, 2023

It was typed as LogEntry which requires both level and message to be set. That contradicts the implementation that treats these fields as optional.

fixes #1969

@DABH
Copy link
Contributor

DABH commented Jun 25, 2023

@sokki , if you merge master into your branch or rebase your PR on master, I think the tests should pass thanks to #2315 . Give it a try and let's see (feel free to @ me so I see the result).

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

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

I approve once CI passes

It was typed as `LogEntry` which requires both `level` and `message` to be set. That contradicts the implementation that treats these fields as optional.

fixes winstonjs#1969
@sokki
Copy link
Contributor Author

sokki commented Jun 26, 2023

@DABH I rebased onto master. CI needs manual approval to run.

@DABH DABH merged commit 9d6001a into winstonjs:master Jun 28, 2023
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.

Doc bug for profile(), or missing implementation
2 participants