1.0.0 • Published 8 years ago

fancy-logger v1.0.0

Weekly downloads
14
License
MIT
Repository
github
Last release
8 years ago

Fancy logger

Customized web-tools logging system to comfort develop

DEMO

Light theme

alt text

Dark theme

alt text

Install

NPM

npm install fancy-logger

How to use

Just call fancyLogger with proper method

var data = [{...}, {...}, ...]
fancyLogger.collection('MyData', data);

List of methods

.controller

Print controller status

fancyLogger.controller(controllerName, message, importance, customCSS)

.collection

Print collection

fancyLogger.collection(collectionName, collection, importance, customCSS)

.property

Print property value

fancyLogger.property(propertyName, property, importance, customCSS)

.component

Print component

fancyLogger.collection(componentName, component, importance, customCSS)

.service

Print service status

fancyLogger.service(serviceName, message, importance, customCSS)

Warning

Passing custom css disables importance (describes opacity of log) property