| 274 | */ |
| 275 | |
| 276 | bool LOGGER::error_log_print(enum loglevel level, const char *format, |
| 277 | va_list args) |
| 278 | { |
| 279 | bool error= FALSE; |
| 280 | Log_event_handler **current_handler; |
| 281 | |
| 282 | /* currently we don't need locking here as there is no error_log table */ |
| 283 | for (current_handler= error_log_handler_list ; *current_handler ;) |
| 284 | error= (*current_handler++)->log_error(level, format, args) || error; |
| 285 | |
| 286 | return error; |
| 287 | } |
| 288 | |
| 289 | |
| 290 | void LOGGER::cleanup_base() |