Looking to error handling in case when \Fluent\Logger\FluentLogger::write() returns 0,
this call:
|
$errors = error_get_last(); |
gets last php error and it can not be related to write() method only.
Therefore I suggest before using error_get_last() inside logger clear before that all previous error not related to logger.
Looking to error handling in case when \Fluent\Logger\FluentLogger::write() returns 0,
this call:
fluent-logger-php/src/FluentLogger.php
Line 427 in 8a6f679
gets last php error and it can not be related to write() method only.
Therefore I suggest before using error_get_last() inside logger clear before that all previous error not related to logger.