-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ensure Metadata is Properly Passed to LogReturn in Logging Class #48
Ensure Metadata is Properly Passed to LogReturn in Logging Class #48
Conversation
This commit addresses an issue in the logging class where the metadata parameter was not consistently passed to the LogReturn instance within the _log method.
src/logs.ts
Outdated
return new LogReturn( | ||
{ | ||
raw: logMessage, | ||
diff: this._diffColorCommentMessage(type, logMessage), | ||
type, | ||
level, | ||
}, | ||
metadata | ||
metadata // Ensure metadata is passed correctly here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadata was already passed in here, you've just added a comment
@imabutahersiddik Hello bud, this feature should fill the |
This comment was marked as spam.
This comment was marked as spam.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's nothing about trace in the spec. @gentlementlegen rfc
This commit addresses an issue in the logging class where the metadata parameter was not consistently passed to the LogReturn instance within the _log method.
Resolves #46