1.0.2 • Published 9 months ago

tinttrace v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

tinttrace

tinttrace is a lightweight logging utility for Node.js applications. It provides customizable log levels, colored log messages, timestamps.

Logo

Installation

You can install tinttrace using npm:

npm install tinttrace

Usage

Import the tinttrace module in your code and start logging:

const logger = require("tinttrace");

logger.info("This is an info log.");
logger.error("This is an error log.");

Output

Your console looks something like this:

Image Tinttrace output image

Advantages

1. Enhanced Separation:

Divider lines are intelligently placed between each console log, ensuring improved readability and visual separation of individual logs.

2. Color-Coded Bullets:

Every log message is accompanied by a color-coded bullet that helps you quickly identify the log level, such as errors, warnings, and informational messages.

3. Precise Timestamps:

Each log entry is precisely timestamped, providing you with a clear understanding of when a particular event occurred.

4. File Context Inclusion:

The logger not only captures your log message but also automatically includes the name of the file where the log originates. This contextual information is crucial for tracing and debugging.

Upcoming features

1. log streaming for real-time monitoring

2. Transports for store logs in different locations and formats

Support

For support, email anoopnayak1@gmail.com

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago