@siac/logger

simple logger for javascript apps

Usage no npm install needed!

<script type="module">
  import siacLogger from 'https://cdn.skypack.dev/@siac/logger';
</script>

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.