-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more robust log level #367
Comments
It would be really nice indeed. We are building a design system which uses Style Dictionary. Our build tool uses a custom CLI with various arguments like I wish I could make a pull request for this and contribute, but I'm a beginner with node and npm. |
We will be working on this as part of the next major release, so we will tackle this soon! |
Any updates on this @dbanksdesign ? Seems like it was picked up for 3.0 but then let go soon after. It's been 2.5 years now and some sort of warning suppression would be nice. We too are setting up a design system with Style Dictionary and because we dynamically generate our SD configs depending on the input of I'd be happy to help out if needed but I don't want to risk starting on something and then seeing it get closed right away. |
I am in the exact same use case like @Jasperrr91 ! So big +1 for clean log levels from my side! |
Would also love to see something like this implemented this results in cli output like the following: vuetify vuetify this is not ideal, would love to see some option to disable certain cli outputs. |
Currently working in a project where we are implementing a darkmode series of tokens and using a system of This works great, but yes, the conflict logging is causing stress with the team. Having a way to suppress this would be AWESOME @dbanksdesign |
We are starting to work on v4 right now and this will be part of v4. @blackfalcon you are talking about the 'property value collision' warnings right? You can get around that now by using |
@dbanksdesign thanks! That's exactly what I was looking for! |
As a user of Style Dictionary, I would like to control the log level of Style Dictionary so that I can limit the amount of content sent to the console.
Currently we do have a log level option on the config, although it is not documented and currently only used in 1 place: https://github.com/amzn/style-dictionary/blob/master/lib/extend.js#L127
I'd like to define this a bit more, but my initial thinking would be to offer log levels of "error", "warning", "info", "none"
The text was updated successfully, but these errors were encountered: