log
log copied to clipboard
A thin (and fast) PSR-3 logger.
I really like how light and simple it is in contrast to Monolog.
Hi @frqnck I intend to use this library to write logs to files in JSON format, then have Fluentd / Fluentbit tail these files for further processing. I'd be interested...
Deferring logs writing to file has a huge positive impact #9 on speed however it's a bit riskier because if the script terminates in an unclean way, we lose the...
I've added code to check if the log is empty and where the log file is. Here's how I use it: ```php foreach ($container['logger']->getBuckets() as $bucket) { // check not...
Hey Franck, Did some speed tests comparing Apix vs. Monolog, it turns out in deferred mode, the speed gains are huge. ```txt ----------------------------------- platform : WINNT x64 php version :...
Hi, first of all, great logger! When I merge two loggers with different separators the merged logger has it's own separator instead of keeping the ones I set before. ```php...
Python does this really well: https://docs.python.org/2/library/logging.html#formatter-objects It would be nice to be able to change the output format of the logger without having to create a subclass of the LogFormatter,...