1.0.0 • Published 1 year ago

sigmety v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

sigmety

A simple logger package for Node.js applications.

Installation

You can install sigmety using npm:

npm install sigmety

Usage

const logger = require('sigmety');

logger.info('This is an informational message.');
logger.warn('This is a warning message.');
logger.error('This is an error message.');

Configuration

By default, the logger will log messages with the level set to 'info'. You can change the log level using the setLogLevel method:

logger.setLogLevel('warn'); // Set log level to 'warn'

The available log levels are: info, warn, and error.

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.0.0

1 year ago