Closed ed4becky closed 4 years ago
Have you set the log level? It defaults to warn, so only warn & error messages will appear, and info messages (like these) will be hidden.
You can change that with loglevel.setLevel("info")
(or trace/debug, just a level that's not higher than info), or loglevel.enableAll()
which will show all messages.
That was the issue, I thought the default was info.
Thanks for quick response
I am trying to use loglevel in an angular. I have abstracted the service (I don't think that's relevant), and whenthe service is created, a console.log shows output but loglevel does not.
I feel like something simple is missing...