0.0.20 • Published 10 months ago

@novemberizing/log v0.0.20

Weekly downloads
-
License
MPL-2.0
Repository
gitlab
Last release
10 months 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

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

11 months ago

0.0.1

11 months ago