/* * Copyright 2021 Google LLC * SPDX-License-Identifier: MIT */ #include "render_common.h" #include #include #include void render_log_init(void) { openlog(NULL, LOG_NDELAY | LOG_PERROR | LOG_PID, LOG_USER); } void render_log(const char *fmt, ...) { va_list va; va_start(va, fmt); vsyslog(LOG_DEBUG, fmt, va); va_end(va); }