npm

easy-logs-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

easy-logs-js

A simple logger facade for node.

Installation

npm i easy-logs-js --save

Usage

JavaScript Vanilla

const { Log, Err, Clear, Warn } = require('easy-logs-js');

Log() // number | string | object | Array
Err() // number | string | object | Array
Clear() // number | string | object | Array [ optional ]
Warn() // number | string | object | Array

TypeScript

import { Log, Err, Clear, Warn } from 'easy-logs-js';

Log() // number | string | object | Array
Err() // number | string | object | Array
Clear() // number | string | object | Array [ optional ]
Warn() // number | string | object | Array

More Information

jonatasJS Node.js logging consolidation library

Package Sidebar

Install

npm i easy-logs-js

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.25 kB

Total Files

19

Last publish

Collaborators

  • sozinhol