Tailwindcss: Needs configuration to set log level or disable logs

Created on 19 Aug 2020  路  2Comments  路  Source: tailwindlabs/tailwindcss

Describe the problem:

Info logs are printing to console. Add-ons should be respectful and quiet when asked.

There should be a configurable option to set the desired log level.

Link to a minimal reproduction:

Just run tailwind.

info - You have opted-in to future-facing breaking changes: removeDeprecatedGapUtilities
info - These changes are stable and will be the default behavior in the next major version of Tailwind.

Nice to know, but uses valuable console real estate.

Most helpful comment

I've disabled those info messages as of v1.7.3, now we only warn about experimental features and upcoming breaking changes 馃憤

All 2 comments

Yes, please! Since you have to manually opt in anyway, I think it would be OK to even not show the info logs at all 馃槆

I've disabled those info messages as of v1.7.3, now we only warn about experimental features and upcoming breaking changes 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manniL picture manniL  路  3Comments

paulhuisman picture paulhuisman  路  3Comments

dbpolito picture dbpolito  路  3Comments

lamberttraccard picture lamberttraccard  路  3Comments

smbdelse picture smbdelse  路  3Comments