[core] log_error, log_perror using printf-like fmt