SetLogFunction

nn::dbg::CTR::Instrument::SetLogFunction Member Function

Syntax

#include <nn/dbg.h>

static void SetLogFunction(
     void(*)(const char *,...) logFunc
);

Parameters

Name Description
logFunc Function for outputting dumps.

Return Values

None.

Description

Specifies the output function used to display buffer contents.

The function specified by logFunc is used for output by the nn::dbg::CTR::Instrument::Dump function.

Although the default specifies the function for output to the PARTNER console, you can do things like output to the SD card or filter results, by changing the function as necessary.

Revision History

2011/12/15
Changed description of default function.
2011/07/12
Initial version.

CONFIDENTIAL