@soydaddy/logs

1.0.1 • Public • Published

@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/logs

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i @soydaddy/logs

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.78 kB

Total Files

3

Last publish

Collaborators

  • soydaddy