Closed thomasms closed 1 year ago
Sorry, I must have missed a automatic email.
What you show looks like it should work. I guess I need some test coverage of the logging configuration...
Should be fixed by 3dcf2f59fe1a2859518faf947a345010556f20ae
Also worth noting that I've recently changed the default log level to Warn
.
Great, I forgot about this issue. Thanks for the fix.
Not sure if I am using the logger API correctly, but following the documentation and looking in the code I have tried to do a simple test with the logger, as below:
My output is then:
I did not set
PVXS_LOG
to see how the logger works without any environment variables.Are there any unit tests for the logger that I can look at?
Any help on how to use the API for the logger would be appreciated.