Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@siac/logger

siacio8MIT1.0.0

simple logger for javascript apps

logger, console

readme

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.