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

Use logrus for logging #94

Merged
merged 4 commits into from
Aug 22, 2022
Merged

Use logrus for logging #94

merged 4 commits into from
Aug 22, 2022

Conversation

caleblloyd
Copy link
Contributor

  • changes logging to use logrus
  • classifies each current log message
  • adds log-level command line arg
  • if started from command line, format uses nested-logrus-formatter with RFC3339 date format, example:
    2022-08-17T14:36:56-04:00 [INFO] test info
    2022-08-17T14:36:56-04:00 [WARN] test warn
    2022-08-17T14:36:56-04:00 [ERRO] test error
    

@caleblloyd caleblloyd requested review from hooksie1 and nsurfer August 17, 2022 18:40
Signed-off-by: Caleb Lloyd <[email protected]>
Caleb Lloyd added 2 commits August 18, 2022 10:47
@caleblloyd caleblloyd requested a review from hooksie1 August 18, 2022 14:54
@caleblloyd caleblloyd merged commit 273cc66 into main Aug 22, 2022
@caleblloyd caleblloyd deleted the logrus branch August 22, 2022 16:17
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.

3 participants