mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-27 12:25:08 -05:00
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
67 lines
1.1 KiB
C
67 lines
1.1 KiB
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup coreinit_cosreport COS Report
|
|
* \ingroup coreinit
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum COSReportLevel
|
|
{
|
|
COS_REPORT_LEVEL_ERROR = 0,
|
|
COS_REPORT_LEVEL_WARN = 1,
|
|
COS_REPORT_LEVEL_INFO = 2,
|
|
COS_REPORT_LEVEL_VERBOSE = 3,
|
|
} COSReportLevel;
|
|
|
|
typedef enum COSReportModule
|
|
{
|
|
COS_REPORT_MODULE_UNKNOWN_0 = 0,
|
|
COS_REPORT_MODULE_UNKNOWN_1 = 1,
|
|
COS_REPORT_MODULE_UNKNOWN_2 = 2,
|
|
COS_REPORT_MODULE_UNKNOWN_5 = 5,
|
|
} COSReportModule;
|
|
|
|
void
|
|
COSVReport(COSReportModule module,
|
|
COSReportLevel level,
|
|
const char *fmt,
|
|
...)
|
|
WUT_FORMAT_PRINTF(3, 4);
|
|
|
|
void
|
|
COSError(COSReportModule module,
|
|
const char *fmt,
|
|
...)
|
|
WUT_FORMAT_PRINTF(2, 3);
|
|
|
|
void
|
|
COSInfo(COSReportModule module,
|
|
const char *fmt,
|
|
...)
|
|
WUT_FORMAT_PRINTF(2, 3);
|
|
|
|
void
|
|
COSVerbose(COSReportModule module,
|
|
const char *fmt,
|
|
...)
|
|
WUT_FORMAT_PRINTF(2, 3);
|
|
|
|
void
|
|
COSWarn(COSReportModule module,
|
|
const char *fmt,
|
|
...)
|
|
WUT_FORMAT_PRINTF(2, 3);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|