@siac/logger
v1.0.0
Published
simple logger for javascript apps
Downloads
1
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.