useLogger from `@nuxt/kit` on server side
I'm trying to use
useLogger
from @nuxt/kit
in a server side util, but I get the following:
Is it ONLY available in a nuxt module? Thats what the docs show as its usage.
Is the setup of a nuxt module not done server side?5 Replies
I guess thaat it only being available for modules make sense since that is what nuxt kit is for
exactly π
I wish nuxt had a more unified logging solution, especially for server side logs. I eventually want to start shipping them into our ELK stack.
absolutely agree. I think @Julien is looking into it.
I'm not but i can π