module SimpLog

Overview

Provides a file-based Log::Backend that supports automatic log file rotation, compression, and purging.

Example:

require "simplog"

Log.setup_from_env(backend: SimpLog::FileBackend.new)
Log.info { "Hello World" } # => writes to log file ./log/<executable>.log

Defined in:

simplog.cr