Choose level for std logger
I have some loggers configured using the
Is it possible to achieve this using std/log? If not, what are other libs you can recommend instead?
setup function from std/log. This way levels are hard-coded. I would like to be able to pass a --debug option to my script to activate the DEBUG level, otherwise use INFO and above.Is it possible to achieve this using std/log? If not, what are other libs you can recommend instead?
