-
Notifications
You must be signed in to change notification settings - Fork 55
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
use Symbol.for('level') when extracting label #112
Comments
🚀 Here's the PR! #144See Sweep's progress at the progress dashboard! 💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID:
b1700abefc )Install Sweep Configs: Pull Request
Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 47 to 104 in 88399c8
Step 2: ⌨️ CodingModify index.js with contents:
Check index.js with contents: Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. This is an automated message generated by Sweep AI. |
following line extract the level information from the info object and uses them as the level label
https://github.com/JaniAnttonen/winston-loki/blob/development/index.js#L58
this causes problems when using
instead the Symbol.for('level') should be used, as per docu of winston::
https://github.com/winstonjs/winston#streams-objectmode-and-info-objects
Checklist
index.js
✓ e35241a Editindex.js
✓ EditThe text was updated successfully, but these errors were encountered: