OSLogPrintf

Syntax

#include <cafe/os/OSSystemLog.h>

void OSLogPrintf( u32 category, u32 level, u32 options,
                  const char * fmt, ...);

Parameters

category This argument identifies the category to which the logged event belongs. For more information, see System Logging Overview.
level Level at which event is logged. For more information, see System 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.
For information, see System Logging Overview.
fmt Pointer to a null-terminated string that includes format specification (equivalent to C standard output functions).
... Optional arguments.

Return Values

None.

Description

Logs a user-specified formatted string.

Do Not Call From

None.

See Also

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

Revision History

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


CONFIDENTIAL