SassyLogger
所属分类:collect
开发工具:SCSS
文件大小:0KB
下载次数:0
上传日期:2021-03-05 13:26:58
上 传 者:
sh-1993
说明: [UNMAINTAINED]Sass.的记录器。,
([UNMAINTAINED] A logger for Sass.,)
文件列表:
.sassdocrc (231, 2021-03-05)
package.json (548, 2021-03-05)
sache.json (177, 2021-03-05)
sass/ (0, 2021-03-05)
sass/_SassyLogger.scss (4777, 2021-03-05)
sass/_example.scss (649, 2021-03-05)
SassyLogger
===========
Read [API documentation](http://hugogiraudel.com/SassyLogger).
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](http://sassmeister.com/gist/9353f7e875a01502313e). 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.
近期下载者:
相关文件:
收藏者: