Stump is a simple PSR-3 compliant logger for Twelve-Factor applications.
- Install via Composer package icecave/stump
- Read the API documentation
The provided logger simply prints log output to STDOUT
, as per the Twelve-Factor Application logging recommendations.
use Icecave\Stump\Logger;
$logger = new Logger();
$logger->info("It's better than bad... it's good!");
The output of the example above is:
2014-10-24 16:26:13 INFO It's better than bad... it's good!
- Follow @IcecaveStudios on Twitter
- Visit the Icecave Studios website
- Join
#icecave
on irc.freenode.net