Wondering what’s next for npm?Check out our public roadmap! »

    leekslazylogger
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.1 • Public • Published

    leekslazylogger

    npm GitHub issues Tests GitHub license Codacy grade Discord support server

    About

    leekslazylogger is an easy-to-use and lightweight Node.JS logger with colours & styles, log files, and timestamps.

    Features

    Some of the things that make leekslazylogger awesome:

    • Highly customisable
    • 8 default log levels and ability to add more or modify the defaults
    • Extensions for popular frameworks (including express.js and fastify)
    • Uses leeks.js (supports RGB and HEX)
    • Short codes for fast inline colours and styles (like Minecraft!)
    • Debug mode (ignores debug messages unless told not to)
    • Custom timestamp formats
    • Log files
    • Automatically cleans-up old logs (optional)
    • Strips colour if it's not supported in the environment
    • Cross-platform

    Screenshots

    The default log levels

    The default log levels

    An example of custom log level formats

    Custom log level formats

    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

    Install

    npm i leekslazylogger

    DownloadsWeekly Downloads

    180

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar