DWC_SetReportLevel

Syntax

#include <dwc.h>

void DWC_SetReportLevel( u32 level );

Description

This function adjusts the type of debug printout (debug report level) displayed on the console by the DWC library. Report levels are defined below. To select only the report levels required for debugging purposes, OR them together.

Even if DWC_REPORTFLAG_GAMESPY is designated in NITRO-DWC-DL, it is meaningless because no corresponding feature exists.

Debug reports are used as logs for analyzing problems.

This function is used for debugging. It does not work in the final ROM version (FINALROM).

    DWC_REPORTFLAG_INFO        = 0x00000001
    DWC_REPORTFLAG_ERROR       = 0x00000002
    DWC_REPORTFLAG_DEBUG       = 0x00000004
    DWC_REPORTFLAG_WARNING     = 0x00000008
    DWC_REPORTFLAG_ACHECK      = 0x00000010
    DWC_REPORTFLAG_LOGIN       = 0x00000020
    DWC_REPORTFLAG_MATCH_NN    = 0x00000040
    DWC_REPORTFLAG_MATCH_GT2   = 0x00000080
    DWC_REPORTFLAG_TRANSPORT   = 0x00000100
    DWC_REPORTFLAG_QR2_REQ     = 0x00000200
    DWC_REPORTFLAG_SB_UPDATE   = 0x00000400
    DWC_REPORTFLAG_SEND_INFO   = 0x00008000
    DWC_REPORTFLAG_RECV_INFO   = 0x00010000
    DWC_REPORTFLAG_UPDATE_SV   = 0x00020000
    DWC_REPORTFLAG_CONNECTINET = 0x00040000
    DWC_REPORTFLAG_AUTH        = 0x01000000
    DWC_REPORTFLAG_AC          = 0x02000000
    DWC_REPORTFLAG_BM          = 0x04000000
    DWC_REPORTFLAG_UTIL        = 0x08000000
    DWC_REPORTFLAG_GAMESPY     = 0x80000000
    DWC_REPORTFLAG_ALL         = 0xffffffff

Arguments

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

Return Values

None.

See Also

Revision History

2006/07/03 Into the function description inserted an explanation about the Friends Library not being used.
2005/12/16 Added detailed function description.
2005/07/22 Initial version,


CONFIDENTIAL