consola icon indicating copy to clipboard operation
consola copied to clipboard

Filtering Logs

Open ineshbose opened this issue 8 months ago • 0 comments

Describe the feature

Could it be possible that consola avoids outputting any logs based on some filter, like tag? The reporter class log function could conditionally not call writeStream if tag is included in comma-separated CONSOLA_SUPPRESS variable for eg

Inspired by https://github.com/nuxt-modules/tailwindcss/pull/732#issuecomment-1772489862

Can help with PR, but let me know what you think first and how you'd like it implemented

ineshbose avatar Oct 27 '23 15:10 ineshbose