Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter\Log and multiple handlers
#1

I'm curious why CodeIgniter\Log::log() is designed such that if one handler returns false it won't continue with any other handlers in the queue?

It seems to me that it would be a good thing that if the (theoretical) EmailHandler failed to send an email that the FileHandler would still write to a log file.
Reply


Messages In This Thread
CodeIgniter\Log and multiple handlers - by dave friend - 10-17-2019, 09:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB