6.0.0-beta.3 • Published 5 years ago

@pixeloven/node-logger v6.0.0-beta.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

@pixeloven/node-logger

Pixel Oven node-logger.

See our website pixeloven-node-logger for more information or the issues associated with this package.

Install

Using npm:

npm install --save @pixeloven/node-logger

or using yarn:

yarn add @pixeloven/node-logger

Usage

Note this package should only be used for node based applications. Using in a client setting may have unintended consequences.

The primary function of this module is to act as a CLI logger. This logger consists of three log levels.

  1. info - used for standard information and prints normally.
  2. warn - used for warnings and highlights text in yellow.
  3. error - Used for errors and highlights text in red.
import { logger } from "@pixeloven/node-logger";

logger.info("Some stuff happened");
logger.warn("But not danger seems to be approaching");
logger.error("Welp I'm out!");

Each of these methods will print an appropriate icon to at the beginning of each line if the console supports it.

6.0.0-beta.3

5 years ago

6.0.0-beta.2

5 years ago

6.0.0-beta.0

5 years ago

6.0.0-alpha.23

5 years ago

6.0.0-alpha.22

5 years ago

6.0.0-alpha.19

5 years ago

6.0.0-alpha.17

5 years ago

6.0.0-alpha.16

5 years ago

6.0.0-alpha.15

5 years ago

6.0.0-alpha.7

5 years ago

6.0.0-alpha.6

5 years ago

6.0.0-alpha.5

5 years ago

6.0.0-alpha.2

5 years ago

6.0.0-alpha.0

5 years ago

5.3.0

5 years ago

5.2.0

5 years ago

5.0.0

5 years ago

5.0.0-beta.1

5 years ago

5.0.0-alpha.8

5 years ago

5.0.0-alpha.1

5 years ago

5.0.0-alpha.0

5 years ago

4.2.1

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.2

5 years ago

3.0.0

5 years ago

2.2.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-alpha.0

5 years ago