Skip to content

A extension of console.log() that adds debugging metadata for better readability and debugging..

Notifications You must be signed in to change notification settings

Tahsin005/logified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logified

A extension of console.log() that adds debugging metadata for better readability and debugging..

Installation

npm install logified

Features

  • 📜 Formatted Logging with timestamps and file info
  • 📏 Type Detection for each logged value
  • ⏳ Execution Timers to measure function performance
  • 📝 Save Logs to a file

Usage

const LOG = require("logified");

LOG("Hello, World!");
LOG({ user: "Tahsin", role: "newbie developer" });

LOG.startTimer("My Task");
// Some process...
LOG.endTimer("My Task");

LOG.saveToFile("logfile.txt", "This is a log entry.");

Output

Output Screenshot

Author

License

This project is licensed under the MIT License.

About

A extension of console.log() that adds debugging metadata for better readability and debugging..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published