0.0.20 • Published 2 years ago

@novemberizing/log v0.0.20

Weekly downloads
-
License
MPL-2.0
Repository
gitlab
Last release
2 years ago

NOVEMBERIZING LOG

ENGLISH | 한국어

Node js JavaScript

Github issues GitHub license GitHub release Npm version


"Novemberizing log" is a log library implemented in JavaScript.

"Novemberizing log" aims to be a simple to use library.

Class Diagram Log

Install

The log library can be installed using "npm".

npm install --save @novemberizing/log

Usage

You can use the log library to print errors, warnings, info, debug, and other logs to the console or to a file.

Log.e("tag", "message");    // Error log
Log.w("tag", "message");    // Warning log
Log.i("tag", "message");    // Information log
Log.d("tag", "message");    // Debug log
Log.v("tag", "message");    // Other log

How to write log to file

The log library does not write logs to files by default. To write the log to a file, you must set the log name and the folder where the log file will be saved.

Log.config = {
    name: "novemberizing"
    path: "."
};

How to print only specific logs

"Novemberizing log" outputs all logs by default. To enable or disable specific logs, you must enable or disable logs for each category.

Log.config = {
    error: true,
    warning: true,
    information: true,
    debug: false,
    verbose: false
}

Document

Novemberizing log api

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago