Skip to content

🎨 A simple node.js logger made in TypeScript

Notifications You must be signed in to change notification settings

schiacciata/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@schiacciata/logger

A simple node.js logger made in TypeScript 🎨

Notice

This is the Node.js version, if you need it for the web go check out the other branch

Table Of Contents

Installation

    npm install schiacciata/logger

Example

    const { Logger, Colors } = require('@schiacciata/logger');
    
    const logger = new Logger({
        date: true,
        symbols: true,
        text: true,
    });

    logger.log('string');
    console.log(Colors.text.red, 'red text', Colors.style.reset);