Functions | |
| void | NvOsDebugPrintf (const char *format,...) |
| This function print log. More... | |
| void | NvOsLogPrintf (int prio, const char *tag, const char *format,...) |
| This function prints a log message according to the prio parameter. More... | |
| void | NvOsVerbosePrintf (NvS32 VerbLevel, const char *Fmt,...) |
| This function print log, if current verbose log level is not smaller than log's verbose level. Log's verbose level is given as VerbLevel parameter, and log is printed actually by slogf() in QNX libc. More... | |
| void | NvOsDebugVprintf (const char *format, va_list ap) |
| This function print log as per format parameter and variable-argument list. More... | |
| int | NvOsGetVerboseLevel (NvS32 *VerbLevel) |
| This function gets the verbose log level. More... | |
| int | NvOsSetVerboseLevel (NvS32 VerbLevel) |
| This function set the verbose log level. More... | |
| void NvOsDebugPrintf | ( | const char * | format, |
| ... | |||
| ) |
This function print log.
| [in] | format | Followed a standard of format parameter of printf() in QNX libc |
| void NvOsDebugVprintf | ( | const char * | format, |
| va_list | ap | ||
| ) |
This function print log as per format parameter and variable-argument list.
| [in] | format | Followed a standard of format parameter of printf() in QNX libc |
| [in] | ap | variable-argument list |
| int NvOsGetVerboseLevel | ( | NvS32 * | VerbLevel | ) |
This function gets the verbose log level.
| [out] | VerbLevel | NVOS_VERB_LVL_0, NVOS_VERB_LVL_1, NVOS_VERB_LVL_2, NVOS_VERB_LVL_3, or NVOS_VERB_LVL_4 |
| void NvOsLogPrintf | ( | int | prio, |
| const char * | tag, | ||
| const char * | format, | ||
| ... | |||
| ) |
This function prints a log message according to the prio parameter.
| [in] | prio | Log priority level |
| [in] | tag | Not used |
| [in] | format | Format string following the standard of the format parameter of printf() |
Usage considerations
| int NvOsSetVerboseLevel | ( | NvS32 | VerbLevel | ) |
This function set the verbose log level.
| [in] | VerbLevel | NVOS_VERB_LVL_0, NVOS_VERB_LVL_1, NVOS_VERB_LVL_2, NVOS_VERB_LVL_3, or NVOS_VERB_LVL_4 is supported |
| void NvOsVerbosePrintf | ( | NvS32 | VerbLevel, |
| const char * | Fmt, | ||
| ... | |||
| ) |
This function print log, if current verbose log level is not smaller than log's verbose level. Log's verbose level is given as VerbLevel parameter, and log is printed actually by slogf() in QNX libc.
| [in] | VerbLevel | log's verbose level, and it should be one of below. NVOS_VERB_LVL_0, NVOS_VERB_LVL_1, NVOS_VERB_LVL_2, NVOS_VERB_LVL_3, or NVOS_VERB_LVL_4 |
| [in] | Fmt | A standard printf() string followed by printf() arguments in QNX libc |