|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Implementation of the levelled console logging functions: per-subject verbose/debug/error filtering and printf-style output. More...
#include "ConsoleOutput.h"Go to the source code of this file.
Namespaces | |
| namespace | cmlabs |
Functions | |
| bool | cmlabs::SetDebugLevel (unsigned char level) |
| Set the debug level for all subjects at once. | |
| bool | cmlabs::SetDebugLevel (unsigned char subject, unsigned char level) |
| Set the debug level for a single subject. | |
| bool | cmlabs::SetVerboseLevel (unsigned char level) |
| Set the verbose level for all subjects at once. | |
| bool | cmlabs::SetVerboseLevel (unsigned char subject, unsigned char level) |
| Set the verbose level for a single subject. | |
| bool | cmlabs::SetErrorLevel (unsigned char level) |
| Set the global error output level. | |
| bool | cmlabs::PrintFile (FILE *stream, const char *formatstring,...) |
| Print a printf-style formatted string to an arbitrary stdio stream. | |
| bool | cmlabs::PrintVerbose (unsigned char subject, unsigned char level, const char *formatstring,...) |
| Print a verbose (informational) message if enabled for the subject. | |
| bool | cmlabs::PrintError (unsigned char level, const char *formatstring,...) |
| Print an error message if enabled. | |
| bool | cmlabs::PrintDebug (unsigned char subject, unsigned char level, const char *formatstring,...) |
| Print a debug message if enabled for the subject. | |
Implementation of the levelled console logging functions: per-subject verbose/debug/error filtering and printf-style output.
Definition in file ConsoleOutput.cpp.