Skip to content

Fix log level comparison in ConsoleSink#52

Merged
ByronMayne merged 1 commit intoByronMayne:masterfrom
marcschier:patch-1
Nov 20, 2025
Merged

Fix log level comparison in ConsoleSink#52
ByronMayne merged 1 commit intoByronMayne:masterfrom
marcschier:patch-1

Conversation

@marcschier
Copy link
Contributor

Since log level starts at 0 for debug, enable should be checked by comparing passed in loglevel is greater than set level. E.g. Input Debug >= Debug Level, Information >= Debug Level, etc.

@ByronMayne ByronMayne merged commit 7c32e28 into ByronMayne:master Nov 20, 2025
1 check failed
@ByronMayne
Copy link
Owner

Hey Marchier,
Thanks for fixing this up :)

@marcschier
Copy link
Contributor Author

Great project! Thanks Byron!

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.

2 participants