0.1.8 • Published 6 years ago

eyecatcher v0.1.8

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

EyeCatcher

Build Status Coverage Status npm version

A tiny library that creates beautiful logging.

Installation

npm install eyecatcher

Usage

const eyecatcher = require('eyecatcher');

Prints your message, time and position in the code:

eyecatcher.log('Log', 'example');
eyecatcher.info('Info', 'example');
eyecatcher.warn('Warning example');
eyecatcher.error('Error example');

Prints a block with your message:

eyecatcher.logBlock('Log block example');
eyecatcher.infoBlock('Info block example. Array:', yourArray);
eyecatcher.warnBlock('Warning block example. JSON:', yourJson);
eyecatcher.errorBlock('Error block example.');

You can use an array or an object.

Examples

EyeCatcher

Tests

npm test

License

The MIT License (MIT) Copyright (c) 2018 Tamas Szoke

https://opensource.org/licenses/MIT

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago