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

Logger #3

Closed
arcticicestudio opened this issue Jan 7, 2017 · 0 comments
Closed

Logger #3

arcticicestudio opened this issue Jan 7, 2017 · 0 comments
Milestone

Comments

@arcticicestudio
Copy link
Owner

arcticicestudio commented Jan 7, 2017

Implement the Logger class as logging package to support logging with level colors.
Colors should be implemented as terminal escape sequences in the logging.Color(object) class.
Log level names and their numeric values should be implemented in the logging.Level(object) class.

Level Level Value Color Terminal Escape Sequence
Level.DEBUG 10 Color.MAGENTA \033[95m
Level.LOWINFO 15 Color.BLUE \033[94m
Level.INFO 20 Color.GREEN \033[92m
Level.WARNING 30 Color.YELLOW \033[93m
Level.ERROR 40 Color.RED \033[91m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant