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

Verbose flag should set the logrus log level #59

Open
blanquicet opened this issue Feb 5, 2024 · 1 comment
Open

Verbose flag should set the logrus log level #59

blanquicet opened this issue Feb 5, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@blanquicet
Copy link
Member

We use the "github.com/sirupsen/logrus" for logging. The --verbose should set the log level to debug: logrus.SetLevel(logrus.DebugLevel).

@blanquicet blanquicet added the good first issue Good for newcomers label Feb 5, 2024
@blanquicet
Copy link
Member Author

Replace following code block with logrus.Debugf:

	if verbose {
		... 
	}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant