Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

KittyGiraudel/SassyLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages