Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SassyLogger

Read API documentation.

The idea is to provide some kind of friendly API to log stuff in Sass, including a way to log different type of messages (warnings, errors...). This is obviously mainly aimed at framework and library developers.

Current implementation provides:

  • 5 levels of logging ("DEBUG" "INFO" "WARN" "ERROR" "FATAL");
  • a minimum level at which the logger starts printing;
  • an history of all logs, that can be printed as CSS;
  • a friendly API with easy-to-use functions;
  • a helper to learn more about different levels of logging.

Find a proof of concept on SassMeister. Although note that SassMeister doesn't show @warn but this code would print content in the console in a regular environment.

Feel free to do whatever you want with this.

About

[UNMAINTAINED] A logger for Sass.

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.