icecave / stump
Incredibly simple PSR-3 compliant logging for Twelve-Factor applications.
Installs: 15 188
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.4
- icecave/isolator: ~2|~3
- psr/log: ~1
Requires (Dev)
- icecave/archer: ~1
Suggests
- ext-posix: Allows for colorful log messages on TTYs.
This package is auto-updated.
Last update: 2024-11-06 11:59:44 UTC
README
Stump is a simple PSR-3 compliant logger for Twelve-Factor applications.
- Install via Composer package icecave/stump
- Read the API documentation
Example
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!
Contact us
- Follow @IcecaveStudios on Twitter
- Visit the Icecave Studios website
- Join
#icecave
on irc.freenode.net