log error
| msg |
the error msg to log |
| method |
the method name logging the error |
| line |
optional current file line |
| file |
optional current file |
| mode |
optional log mode (DBG_ERROR|DBG_WARN) |