1.0.0 • Published 6 years ago

@siac/logger v1.0.0

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
6 years ago

Stateful.js

Simple Logger for JavaScript apps.


Installation

Install using a package manager such as Yarn:

yarn add @siac/logger

Usage

Import the library:

import Logger from "@siac/logger";

Error

Prints an error message on the console.

Logger.error(message);

Warning

Prints a warning message on the console.

Logger.warn(message);

Log

Prints a message on the console.

Logger.error(message);

Info

Prints an informative message on the console.

Logger.error(message);

License

Stateful is licensed under the MIT License.
1.0.0

6 years ago