change warning to log
See original GitHub issue.spread((root, opts, images, spritesheets) => {
result.warn(`${spritesheets.length} ${spritesheets.length > 1 ? 'spritesheets' : 'spritesheet'} generated.`);
})
I think this message just tell us the number of generated spritesheet, it should be simple log, but not a warning. And postcss-reporter
and postcss-browser-reporter
will collect these message if we treat it as warning
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to turn `logging` warnings into errors? - Stack Overflow
Please clarify which you want: 1) turn logging warnings into logging errors, or 2) turn both logging warnings and errors into exceptions raised....
Read more >Writing an Error or Warning Log Entry - Windows drivers
Writing an Error or Warning Log Entry. ... For information about how to change the indentation depth, see Writing Indented Log Entries.
Read more >Logger warning() method in Java with Examples
The warning() method of a Logger class used to Log a WARNING message.This method is used to pass WARNING types logs to all...
Read more >Python Logging WARNING Lines - Python Examples
Use logging.warning() method, with the message passed as argument, to print the WARNING line to the console or log file. If logging level...
Read more >Logging, Warnings, and Error Messages · GitBook
Both of the following packages use a hierarchic loggers, meaning that if you change the level of displayed level of logging at one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will revert to
Result.warn
method to be consistent with the rest of messages in the plugin.this may require @vvasilev- 's agree.