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