// SPDX-License-Identifier: BSD-3-Clause | |
// | |
// Copyright 2023 Google LLC | |
// | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the Licenses directory or at | |
// https://developers.google.com/open-source/licenses/bsd | |
#ifndef __LOG_H | |
#define __LOG_H | |
#define log_err printf | |
#define log_warning printf | |
#ifdef DEBUG | |
#define log_debug printf | |
#define log_info printf | |
#define log_notice printf | |
#else | |
#define log_debug(...) | |
#define log_info(...) | |
#define log_notice(...) | |
#endif | |
#endif |