Changes for version 1.3
- Easy mode: 'use Log::Tiny qw(:easy)' exports TRACE/DEBUG/INFO/ WARN/ERROR/FATAL (and the LOG* helpers) that log through one process-wide logger; defaults to STDERR. Configure with Log::Tiny->easy_init().
- Lazy messages: a code-ref message is only evaluated if it will actually be logged (passes the min_level threshold).
- would_log($category) predicate to guard expensive logging.
- LOGWARN/LOGDIE/LOGCARP/LOGCLUCK/LOGCROAK/LOGCONFESS: log then warn/die/carp (Log4perl-style).
- %D{...} strftime timestamp format code (default ISO-ish).
Modules
Log data with as little code as possible