[eluser]Unknown[/eluser]
I have set error threshold to 1 in config.php.
But the problem is that
Quote:i am getting many errors that is NOT ACTUALLY ERRORS in terms of application logic.
Consider the following code examples
Code:
$deleted = @unlink($filename);
$imap_uid = @imap_uid($con,$msgno);
As you can see that the above example will not throw errors, but codeigniter will log if an error occurred.
Is it possible to disable error logging dynamically ?
i am expecting something like this
Code:
// ....
$this->error_log = 0; // disable error logging
//Perform some operation that which may log an error,even its suppressed
$this->error_log = 1; //enable it again
// ...
Thanks.