Add serialization for Log::Kind to ostream#4292
Merged
Conversation
EduPonz
suggested changes
Jan 25, 2024
EduPonz
left a comment
There was a problem hiding this comment.
We should use this in LogConsumer::print_header
|
@LuciaEchevarria99 please address uncrustify failure |
This was referenced Jan 30, 2024
Contributor
|
@Mergifyio rebase |
Signed-off-by: Lucia Echevarria <luciaechevarria@eprosima.com>
Signed-off-by: Lucia Echevarria <luciaechevarria@eprosima.com>
Signed-off-by: Lucia Echevarria <luciaechevarria@eprosima.com>
Contributor
✅ Branch has been successfully rebased |
c81d2b4 to
3ffbf3e
Compare
Contributor
|
@richiprosima please test this |
Contributor
|
@richiprosima please test mac please test linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add serialization for Log::Kind to ostream
Description
This commit introduces a new ostream serialization function for the Log::Kind enumeration, allowing seamless output to ostream objects. The function includes a switch statement of Log::Kind values to their corresponding string representations (INFO, WARNING, ERROR).
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist