#include "nvsg/nvsgapi.h"
#include <stdarg.h>
#include <string>
#include "nvutil/Singleton.h"
Include dependency graph for Log.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | nvutil |
Defines | |
#define | __LOG_TEST_INIT(TM) nvutil::LogTest::instance()->init(TM!=nvutil::TM_NONE) |
Initialize general test logging. More... | |
#define | __LOG_BENCH_TEST_INIT(TM) nvutil::LogBenchTest::instance()->init(TM==nvutil::TM_BENCH_TEST) |
Initialize benchmark test logging. More... | |
#define | __LOG_SHADER_TEST_INIT(TM) nvutil::LogShaderTest::instance()->init(TM==nvutil::TM_SHADER_TEST) |
Ininialize shader test logging. More... | |
#define | __LOG_TEST(s) { if ( nvutil::LogTest::instance()->isEnabled() ) { nvutil::LogTest::instance()->format s; } } |
Output test relevant format string s if output is enabled. More... | |
#define | __LOG_BENCH_TEST(s) { if ( nvutil::LogBenchTest::instance()->isEnabled() ) { nvutil::LogBenchTest::instance()->format s; } } |
Output benchmark test relevant format string s if output is enabled. More... | |
#define | __LOG_SHADER_TEST(s) { if ( nvutil::LogShaderTest::instance()->isEnabled() ) { nvutil::LogShaderTest::instance()->format s; } } |
Output shader test relevant format string s if output is enabled. More... | |
#define | __LOG_TEST_ENABLED() nvutil::LogTest::instance()->isEnabled() |
Query if any test is enabled. More... | |
#define | __LOG_BENCH_TEST_ENABLED() nvutil::LogBenchTest::instance()->isEnabled() |
Query if benchmark test is enabled. More... | |
#define | __LOG_SHADER_TEST_ENABLED() nvutil::LogShaderTest::instance()->isEnabled() |
Query if shader test is enabled. More... | |
Variables | |
NVSG_API std::string | __LOG_FILE__ |
Global string containing the name of the log file. More... |
|
Global string containing the name of the log file.
|