Collaboration diagram for Logging a certain test results:
![]() |
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 | |
Classes | |
class | nvutil::Log< TestMode, OutputFn > |
Logging test results. More... | |
Typedefs | |
typedef void | nvutil::LOG_OUTPUT_FUNCTION (const char *) |
Type of output function to use with Log class objects. | |
typedef Singleton< Log< TM_TEST, logFileOutput > > | nvutil::LogTest |
Dedicated type for general test logging. | |
typedef Singleton< Log< TM_BENCH_TEST, logFileOutput > > | nvutil::LogBenchTest |
Dedicated type for benchmark test logging. | |
typedef Singleton< Log< TM_SHADER_TEST, logFileOutput > > | nvutil::LogShaderTest |
Dedicated type for shader test logging. | |
Enumerations | |
enum | nvutil::TESTMODE { nvutil::TM_NONE = 0, nvutil::TM_TEST, nvutil::TM_BENCH_TEST, nvutil::TM_SHADER_TEST } |
Test modes available for logging. More... | |
Functions | |
void | nvutil::Log::init (bool enable) |
Initialization. | |
void | nvutil::Log::format (const char *fmt,...) const |
Formatted output. | |
bool | nvutil::Log::isEnabled () const |
Determine whether a certain test mode is enabled. | |
Variables | |
NVSG_API LOG_OUTPUT_FUNCTION | nvutil::logFileOutput |
Function to log into a file. |
|
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.
|