leekslazylogger

An easy-to-use and lightweight logger for Node.js with colours, timestamps, and files.

Usage no npm install needed!

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

README

leekslazylogger

Version Tests License Codacy grade Discord support server

About

leekslazylogger is an easy-to-use and lightweight logger for Node.js with colours, timestamps, and files.

Features

Some of the things that make leekslazylogger awesome:

  • Timestamps
  • 2 built-in transports
    • Console
      • Uses leeks.js for colours/styles
      • Customisable format
    • File
      • Automatic clean-up
    • Easy to create your own transport (such as a HTTP transport)
  • Highly customisable

Screenshots

These screenshots show the default formats. You can make it completely different if you want.

Console

The default log levels

File

Log file

You can change or remove the header in log files.

Getting Started

For installation and usage instructions/examples, see Getting Started.

Support

Go to the docs, or ask for help in #general-support on Discord.

Discord

Donate

ko-fi