mirror of
https://github.com/zhamao-robot/zhamao-logger.git
synced 2026-07-02 14:25:40 +08:00
1.1.7
When the terminal (IDE) is closed without stopping the framework first, the PTY is destroyed and STDOUT/STDERR become broken file descriptors. Any subsequent log call via echo/fwrite fails with E_WARNING, the error handler catches it and calls the logger again, creating a recursive loop that consumes 100% CPU. Changes: - Add static $in_log recursion guard flag to ConsoleLogger - Wrap log output (echo/fwrite/fflush) with the guard and @ suppression - Bump version from 1.1.6 to 1.1.7
zhamao-logger
Another Console Logger for CLI Applications
Description
Languages
PHP
100%