OSLogFunc

Syntax

#include <cafe/os/OSSystemLog.h>

void OSLogFunc(u32 category, u32 level, u32 options, const char* funcName,
               u32 funcNameSize, u32 lineNumber, u32* argv, u32 argc);

Parameters

category This argument identifies the category to which the logged event belongs. For more information, see Logging Overview.
level Level at which event is logged. For more information, see Logging Overview.
options Bitmap of options providing metadata about the information being logged. Valid option masks include: OS_LOG_DATA_OPT_FUNC_ENTER_MASK, OS_LOG_DATA_OPT_FUNC_EXIT_MASK, OS_LOG_DATA_OPT_KEY_ARG_MASK. For more information, see Logging Overview.
funcName Pointer to an ASCII string which identifies the name of the function.
funcNameSize Size of the ASCII data referred to by funcName.
lineNumber Source file line number at which the event log API is instantiated.
argv Pointer to an array of argument words.
argc Number of valid argument words referenced by argv, no greater than OS_LOG_ENTRY_MAX_ARGS.

Return Values

None.

Description

Logs a function name, source file line number and up to OS_LOG_ENTRY_MAX_ARGS user-specified argument words. argv[0] has special meaning when the OS_LOG_DATA_OPT_KEY_ARG_MASK options is applied.

Do Not Call From

None.

See Also

System Logging Overview
APP_TRACE_* Macros
OSLogArgs
OSLogBuffer
OSLogPrintf
OSLogReport
OSLogRetrieve
OSLogSaveCrashDump
OSLogSetFilterPolicy

Revision History

2013/05/08 Automated cleanup pass.
2012/05/23 Initial version.


CONFIDENTIAL