Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

change warning to log

See original GitHub issue

Issue Description

.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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

vvasilev-commented, Jul 22, 2016

I will revert to Result.warn method to be consistent with the rest of messages in the plugin.

kagawagaocommented, Jul 22, 2016

this may require @vvasilev- 's agree.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found