0.2.7 • Published 10 months ago

logmeall v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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

10 months ago

0.2.7

10 months ago

0.2.6

10 months ago

0.2.3

10 months ago

0.1.4

10 months ago

0.2.2

10 months ago

0.1.3

10 months ago

0.2.5

10 months ago

0.2.4

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago