AugustArchive / leekslazylogger

An easy-to-use and lightweight console logger with file support for Node.JS.

Home Page:https://lazylogger.eartharoid.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leeksLazyLogger

leeksLazyLogger is an easy-to-use and lightweight NodeJS console logger.

leeksLazyLogger uses leeks.js to allow colour and ANSI styles to easily be implemented into your NodeJS application's console, whilst being extremely lightweight and logging everything to a file for easy access later.

Installation

npm i leekslazylogger or yarn leekslazylogger

Features

  • Lightweight
  • Easy to use
  • US and UK spelling variations support
  • Everything is logged to a file (can be disabled)
  • A new file for each run
  • Automatically cleans up by deleting old log files (older than 1 week) on initialisation
  • Automatically logs in plain text if colour is not supported
  • Extremely customisable (custom log types)
  • Works on multiple platforms (although colours may vary)

How to use

To start, have a look at the Functions page, where initialisation and basic usage is explained.

Customisation

Some information on customisation is available on the Functions page.

For more information on other options, visit the Colours & Styles page.

Screenshots

Want to see what it looks like? Go to the Screenshots page.

Examples

Run npm test/yarn test or look at test.js.

Support

Ask for help in #support on Discord.

Go to the wiki for more information about logging functions and colours.

Discord

Credits

About

An easy-to-use and lightweight console logger with file support for Node.JS.

https://lazylogger.eartharoid.me/

License:MIT License


Languages

Language:JavaScript 100.0%