Skip to main content

Name

log_error

Synopsis

#include "hooks/core/log_error.h"

| void **log_error** ( | closure, |   | |   | now, |   | |   | level, |   | |   | format, |   | |   | arg); |   |

void * <var class="pdparam">closure</var>; struct timeval * <var class="pdparam">now</var>; int <var class="pdparam">level</var>; const char * <var class="pdparam">format</var>; va_list <var class="pdparam">arg</var>;

| int **has_core_log_error_hook** ( | ); |   |

| void **register_core_log_error_hook_first** ( | hook, |   | |   | closure); |   |

ec_hook_core_log_error_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **register_core_log_error_hook_last** ( | hook, |   | |   | closure); |   |

ec_hook_core_log_error_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **call_core_log_error_hook** ( | now, |   | |   | level, |   | |   | format, |   | |   | arg); |   |

struct timeval * <var class="pdparam">now</var>; int <var class="pdparam">level</var>; const char * <var class="pdparam">format</var>; va_list <var class="pdparam">arg</var>;

Description

This registerable hook mirrors the module callback of the same name.

Was this page helpful?