package

github.com/84codes/logger.cr

1.0.2 / published Mar 25, 2022 / repository

Crystal's Logger class revived

Logger

Fork of the Logger class from the stdlib but without the deprecation notices.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      logger:
        github: 84codes/logger.cr
  2. Run shards install

Usage

require "logger"

API

  • Logger

    The Logger class provides a simple but sophisticated logging utility that you can use to output messages.