fix: better logging behaviour
This commit is contained in:
parent
3e6d0333b7
commit
398019afe8
36 changed files with 256 additions and 188 deletions
src
|
@ -118,7 +118,7 @@ router_register_endpoint(const char *route, int method, endpoint_func_f func)
|
|||
|
||||
if(endpoints_registered >= ROUTER_ENDPOINTS_MAX_COUNT)
|
||||
{
|
||||
LOG_ERROR("can't register more than %d endpoints\n", ROUTER_ENDPOINTS_MAX_COUNT);
|
||||
LOGGER_ERR("can't register more than %d endpoints\n", ROUTER_ENDPOINTS_MAX_COUNT);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue