0.2.7 • Published 9 months ago

logmeall v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

LogMeAll

LogMeAll is a simple logging package that logs messages to the console and sends them to an API.

Installation

npm install logmeall

Usage

import LogMeAll from 'logmeall';

const log = new LogMeAll({
  apiUrl: 'https://www.logmeall.com/api',
  apiKey: 'your-api-key',
  apiSecret: 'your-api-secret',
});

log.info('This is an info message');
log.error('This is an error message');
log.debug('This is a debug message');
log.notice('This is a notice message');
log.warning('This is a warning message');

Advanced Usage

log.info('This is an info message', { tags: ['tag1', 'tag2'] });

License

This project is licensed under the MIT License.

0.2.1

9 months ago

0.2.7

9 months ago

0.2.6

9 months ago

0.2.3

9 months ago

0.1.4

9 months ago

0.2.2

9 months ago

0.1.3

9 months ago

0.2.5

9 months ago

0.2.4

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago