DWC_SetReportLevel

Syntax

#include <dwc.h>
void DWC_SetReportLevel(u32 level);

Arguments

level One or more report levels in the DWC library that you can select to display for debugging. Select multiple conditions using a bitwise OR.

Return Values

None.

Description

Adjusts the type of debug printout (debug report level) that the DWC library displays on the console. The report level is defined by DWCReportFlag. You can use a bitwise OR to select only the required display items for your debugging purposes.

If DWC_REPORTFLAG_GAMESPY is designated when you use TWL DWC-DL, it is meaningless because no corresponding feature exists.

Debug reports are used as logs for analyzing problems.

Debug print requires an average of 3 ms per 100 characters. Some debug print types can output a very large volume of logs and cause delays in the game. Avoid this by setting a debug report level appropriate for your purposes. Alternatively, because the OS_TVPrintf function called in the debug print process is compiled with weak symbols, you can suppress the processing load of log output by defining your own OS_TVPrintf function.

DWC_REPORTFLAG_ALL is specified by default.

Revision History

5.2
Described possibility of delays occurring in the game, depending on the type of debug print.

For the change log before version 5.1 PR2, click here.


CONFIDENTIAL