logarithmic

Node.js logger

Usage no npm install needed!

<script type="module">
  import logarithmic from 'https://cdn.skypack.dev/logarithmic';
</script>

README

Logarithmic

A simpler log tool

Using it is simple:

var logarithmic = require("logarithmic");

logarithmic.alert("The user", username, "is trying to make an account");
logarithmic.ok("The user", username, "has made an account");
logarithmic.warning("A thread has crashed. Now trying to make another");
logarithmic.error("Count not connect to database. Now closing");

The various functions all have colouring so that:

  • alert is blue
  • ok is green
  • warning is yellow
  • error is red