Modules | |
Macros providing initialization of certain test modes for logging | |
Macros providing formatted output relevant for a certain test modes | |
Macros to inquire if logging is enabled for a certain test mode | |
Compounds | |
class | Log |
Logging test results. More... | |
Typedefs | |
typedef void | LOG_OUTPUT_FUNCTION (const char *) |
Type of output function to use with Log class objects. More... | |
typedef Singleton< Log< TM_TEST, logFileOutput > > | LogTest |
Dedicated type for general test logging. More... | |
typedef Singleton< Log< TM_BENCH_TEST, logFileOutput > > | LogBenchTest |
Dedicated type for benchmark test logging. More... | |
typedef Singleton< Log< TM_SHADER_TEST, logFileOutput > > | LogShaderTest |
Dedicated type for shader test logging. More... | |
Enumerations | |
enum | TESTMODE { TM_NONE = 0, TM_TEST, TM_BENCH_TEST, TM_SHADER_TEST } |
Test modes available for logging. More... | |
Functions | |
void | init (bool enable) |
Initialization. More... | |
void | format (const char *fmt,...) const |
Formatted output. More... | |
bool | isEnabled () const |
Determine whether a certain test mode is enabled. More... | |
Variables | |
NVSG_API LOG_OUTPUT_FUNCTION | logFileOutput |
Function to log into a file. More... |
|
Type of output function to use with
|
|
Dedicated type for general test logging.
|
|
Dedicated type for benchmark test logging.
|
|
Dedicated type for shader test logging.
|
|
Test modes available for logging.
|
|
Initialization. Based on enable, decides wether to output or not.
|
|
Formatted output. Outputs the format string fmt using OutputFn.
|
|
Determine whether a certain test mode is enabled.
|
|
Function to log into a file.
|