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

feat: standardize logging output #114

Merged
merged 1 commit into from
Jan 21, 2022
Merged

feat: standardize logging output #114

merged 1 commit into from
Jan 21, 2022

Conversation

mikhailswift
Copy link
Collaborator

  • Adds pkg/log library with logger interface
  • Adds cmd/log.go with logrus implementation of above interface
    configured
  • Logs errors that were being suppressed before and removes usage of log
    and fmt.Printf/Println in favor of using witness's logger.

Signed-off-by: Mikhail Swift mikhail@testifysec.com

@colek42
Copy link
Member

colek42 commented Jan 21, 2022

LGTM, just needs docs regened and license headers.

* Adds pkg/log library with logger interface
* Adds cmd/log.go with logrus implementation of above interface
  configured
* Logs errors that were being suppressed before and removes usage of log
  and fmt.Printf/Println in favor of using witness's logger.

Signed-off-by: Mikhail Swift <mikhail@testifysec.com>
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.

None yet

2 participants