unjs / consola

🐨 Elegant Console Logger for Node.js and Browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process.env.CONSOLA_LEVEL not work with default Consola

cczw2010 opened this issue · comments

commented

process.env.CONSOLA_LEVEL not work with default Consola

Hi. This is expected behavior. Env is only applied to the default instance of consola. You can explicitly pass for custom instances. If you feel this could be better on constructor, please let me know to reopen.