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

Looks like there is typo in the example code in README.md #21

Open
neel-m opened this issue Aug 17, 2023 · 0 comments
Open

Looks like there is typo in the example code in README.md #21

neel-m opened this issue Aug 17, 2023 · 0 comments

Comments

@neel-m
Copy link

neel-m commented Aug 17, 2023

	// Use log levels to set your log priority
	log2.SetLogLevel(DebugLevel)

Since this code is not in the logger package, it doesn't have access to DebugLevel. Use this instead:

	// Use log levels to set your log priority
	log2.SetLogLevel(logger.DebugLevel)

Same for the WarningLevel 3 lines down.

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

No branches or pull requests

1 participant