Skip to content
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

Add logging convenience methods, polish a few messages #2823

Merged
merged 2 commits into from
Nov 4, 2021

Conversation

simonbasle
Copy link
Contributor

Add convenience [info|warn|error]OrDebug to Logger

This is a convenience method to chose between two versions of a message, according to the enabled logging levels.
If debug is enabled, a more verbose message is expected and logged.
If not, there's a fallback to a less verbose message (depending on the flavor: info, warn or error).

Polish a few logging statements

Change the logging level of a couple of log statements.
Use the new convenience method in a case where the input value (onNext) is directly logged.

@simonbasle simonbasle requested a review from a team as a code owner October 21, 2021 16:29
@simonbasle simonbasle added this to the 3.4.12 milestone Oct 21, 2021
@simonbasle simonbasle added the type/enhancement A general enhancement label Oct 21, 2021
@simonbasle simonbasle self-assigned this Oct 21, 2021
@simonbasle simonbasle requested a review from a team October 21, 2021 16:29
Copy link
Contributor

@OlegDokuka OlegDokuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants