@soydaddy/logs
v1.0.1
Published
A simple and colorful logging package
Readme
@soydaddy/logs
A simple and colorful logging package for Node.js applications, providing easy-to-use logging functions with timestamp and color support.
Installation
Install the package via npm:
npm install @soydaddy/logsUsage
Basic Setup
First, require the @soydaddy/logs in your project:
const { info, warn, error, success, debug, logging } = require('@soydaddy/logs');Logging Examples
Info Log
info('This is an info message');Warning Log
warn('This is a warning message');Error Log
error('This is an error message');Success Log
success('This is a success message');Debug Log
debug('This is a debug message');Custom Logging
logging('This is a custom log message');Functions
info(message)
Logs an info message.
warn(message)
Logs a warning message.
error(message)
Logs an error message.
success(message)
Logs a success message.
debug(message)
Logs a debug message.
logging(message)
Logs a custom message.
License
This project is licensed under the MIT License.
Author
soyDaddy
