Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

leekslazylogger

1.1.9 • Public • Published

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

Install

npm i leekslazylogger

DownloadsWeekly Downloads

115

Version

1.1.9

License

GPL-3.0

Unpacked Size

55.2 kB

Total Files

9

Last publish

Collaborators

  • avatar