Welcome Guest, Not a member yet? Register   Sign In
Redirecting logging output
#3

i have done that like this.
I wrote a hanlder base upon the filehandler then i change the config to add this handler
1) first the handler
i copied the system/log/filehandler.php to system/log/stderrhandler.php
I removed everything concerning the file.
i added "echo $msg" inside the function handle.

2) the config
inside the app/Config/Logger.php i added my new handler
Codeingiter\Log\Handlers\stderrhandler =>[handles ...] (just copy it from the chromehandler
Reply


Messages In This Thread
Redirecting logging output - by richb201 - 04-29-2020, 04:02 PM
RE: Redirecting logging output - by richb201 - 05-01-2020, 06:52 PM
RE: Redirecting logging output - by jjinkou2 - 08-24-2020, 07:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB