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

Improve logging #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

ViToni
Copy link
Contributor

@ViToni ViToni commented May 6, 2017

When logging to stderr timestamps are added to the output making debugging a lot easiser.

Additionally the short circuit log level evaluation avoid unnecessary function calls if these log calls wouldn't be shown because of the log level.
This feature might be especially useful for embedded devices.

This PR is based on PR #19.

ViToni added 6 commits May 5, 2017 13:50
Signed-off-by: Victor Toni <victor.toni@gmail.com>
* To make reformatting reproducible `make reformat` was used.

Signed-off-by: Victor Toni <victor.toni@gmail.com>
Code provied by Stefan Heck.

Signed-off-by: Victor Toni <victor.toni@gmail.com>
…g doesn't know about them).

Signed-off-by: Victor Toni <victor.toni@gmail.com>
Signed-off-by: Victor Toni <victor.toni@gmail.com>
Signed-off-by: Victor Toni <victor.toni@gmail.com>
@pali
Copy link
Owner

pali commented Sep 29, 2018

This PR depends on #19. Therefore in current state cannot be merged.

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