chromium/third_party/cpuinfo/src/deps/clog/src/clog.c

#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#ifdef _WIN32
	#include <windows.h>
#else
	#include <unistd.h>
#endif
#ifdef __ANDROID__
	#include <android/log.h>
#endif
#ifdef __hexagon__
	#include <qurt_printf.h>
#endif

#ifndef CLOG_LOG_TO_STDIO
	#ifdef __ANDROID__
		#define CLOG_LOG_TO_STDIO
	#else
		#define CLOG_LOG_TO_STDIO
	#endif
#endif

#include <clog.h>


/* Messages up to this size are formatted entirely on-stack, and don't allocate heap memory */
#define CLOG_STACK_BUFFER_SIZE

#define CLOG_FATAL_PREFIX
#define CLOG_FATAL_PREFIX_LENGTH
#define CLOG_FATAL_PREFIX_FORMAT
#define CLOG_ERROR_PREFIX
#define CLOG_ERROR_PREFIX_LENGTH
#define CLOG_ERROR_PREFIX_FORMAT
#define CLOG_WARNING_PREFIX
#define CLOG_WARNING_PREFIX_LENGTH
#define CLOG_WARNING_PREFIX_FORMAT
#define CLOG_INFO_PREFIX
#define CLOG_INFO_PREFIX_LENGTH
#define CLOG_INFO_PREFIX_FORMAT
#define CLOG_DEBUG_PREFIX
#define CLOG_DEBUG_PREFIX_LENGTH
#define CLOG_DEBUG_PREFIX_FORMAT
#define CLOG_SUFFIX_LENGTH

void clog_vlog_fatal(const char* module, const char* format, va_list args) {}

void clog_vlog_error(const char* module, const char* format, va_list args) {}

void clog_vlog_warning(const char* module, const char* format, va_list args) {}

void clog_vlog_info(const char* module, const char* format, va_list args) {}

void clog_vlog_debug(const char* module, const char* format, va_list args) {}