Skip to content

[skip changelog] Add logging support #44

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

Merged
merged 1 commit into from
Jun 7, 2021
Merged

Conversation

silvanocerza
Copy link
Contributor

Add logging support and related flags:

  • log-file to specify path to file where logs will be written to
  • log-format to set the format of the logging output, either text or json
  • log-level the minimum log level of messages that must be shown, levels are trace, debug, info, warn, error, fatal, panic. Defaults to info
  • verbose to print logs to standard output

@silvanocerza silvanocerza added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 7, 2021
@silvanocerza silvanocerza requested a review from a team June 7, 2021 12:53
@silvanocerza silvanocerza self-assigned this Jun 7, 2021
@silvanocerza silvanocerza force-pushed the scerza/logging-support branch from 9c8e185 to 4728d5a Compare June 7, 2021 12:58
@silvanocerza silvanocerza merged commit c0d5aa5 into main Jun 7, 2021
@silvanocerza silvanocerza deleted the scerza/logging-support branch June 7, 2021 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants