-
Notifications
You must be signed in to change notification settings - Fork 152
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Adding metadata after printing a new line in Trivially Copyable structures #534
Comments
I've implemented this for the next release. It introduces an approximate 1.8% overhead in backend thread processing, which isn't that bad, so I'm enabling it by default. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
When using an
operator<<
overload to log user-defined types, the metadata (timestamp, log level, etc.) is only logged for the first line of output. Subsequent lines produced by the custom operator do not include this metadata.Desired Behavior
All lines of output produced by an
operator<<
overload should include the appropriate metadata, maintaining consistency with single-line log entries.The text was updated successfully, but these errors were encountered: