commit | 0e0c37bc3b8e46d9ecc89fd5591e6b258ebd8b74 | [log] [tgz] |
---|---|---|
author | Francesco Negri <francesconegri@gmail.com> | Sat Aug 04 14:16:50 2012 +0300 |
committer | Francesco Negri <francesconegri@gmail.com> | Sat Aug 04 14:16:50 2012 +0300 |
tree | a166f8bfd7e16376120898f60e74889d29bb13d4 | |
parent | 6c94c2dcfb6557947c9ac67e419b2856fd80e01d [diff] |
Logging should obey error_reporting() setting If the php error level is not included in the current error_reporting() setting, we should not log it. Also, the log_threshold check is redundant, it's already taken care of by the write_log() method.