nn::rdt::CTR::SetLogLevel Function

Syntax

nn::Result SetLogLevel(
     bit32 level
);

Arguments

Name Description
level

Return Values

Returns ResultSuccess when a valid argument is given. Returns ResultInvalidValue when an invalid argument is given.

Description

Configures the RDT library's log output level.

By default, the RDT library is configured to not output a log. When investigating bugs in the RDT library or in similar scenarios, call in advance nn::rdt::CTR::SetLogLevel(nn::rdt::CTR::LOG_LEVEL_ALL); to enable log output. This can be beneficial in debugging the RDT library. At present there are only two output level settings: no output log at all, and output a complete log. It is possible that in the future we may provide more detailed options for log output.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL