Comment by ajstacy06
It's universal meaning it works in the web browser and the backend without any configuration. All other loggers work in one or the other, or if they work in both the functionality is severely limited. Winston and Bunyan only work server side because they use node fs streams. Pino is primarily designed to be a server side library, but it can run in the browser by using browserify and using limited funcionality.
Of course console methods are universal. This library isn't providing console methods, it's providing enterprise/production level functionality on top of the console.
If you want to use Winston in Sveltekit or the like, you have to wrap browser checks around parts of it, otherwise it will explode when bundled.
Right, I usually prefer to use the built in console methods with some currying when needed so I might not be the audience. This has worked well enough even for "enterprise" use-cases.
If I may give one suggestion maybe drop the dependency on 'vuepress-plugin-search-pro' (48MB) and maybe 'date-fns' (23MB), that seems like some really large dependencies that might not be required.