Johann Schopplich Johann Schopplich

Kirbylog

Daily log files from one global kirbylog() helper

Manual

Download

… and extract the folder to site/plugins/kirbylog

Composer

Git Submodule

Features

πŸͺƒ One Global Helper
Call kirbylog() from templates, controllers, hooks, or routes to append a timestamped line to the day's log file.
πŸ’¬ Arrays as JSON
Arrays are written as pretty-printed JSON, with slashes and Unicode left unescaped.
πŸ”’ Log Levels
Pass error, warning, or another RFC 5424 level as the second argument; in debug mode, an unknown level throws.
πŸ“ Your Own Location
The dir and filename options move the log file anywhere.
Version
1.5.0
License
MIT
Stars
27
Implements
Kirby support
  • Kirby 5
  • Kirby 4
  • Kirby 3
More