summaryrefslogtreecommitdiff
path: root/common/Logger.h
diff options
context:
space:
mode:
authorJason Maskell <[email protected]>2016-05-31 13:54:29 +0200
committerJason Maskell <[email protected]>2016-05-31 13:54:29 +0200
commit9d4bad02e6eb15ec5cf62681923543776d66e9f1 (patch)
tree1f64f36d04a518a1369ce9e34ba30b0debea1b9f /common/Logger.h
parentAdded support for RFC 104, the logging interface: https://docs.google.com/doc... (diff)
downloadwaveworks_archive-9d4bad02e6eb15ec5cf62681923543776d66e9f1.tar.xz
waveworks_archive-9d4bad02e6eb15ec5cf62681923543776d66e9f1.zip
Renamed Logger.h to GFSDK_Logger.h since it's a shared header.
Removed the narrow char methods. Removed the floating log functions. Changed the ILogger::log() method to use varargs and printf() formatting.
Diffstat (limited to 'common/Logger.h')
-rw-r--r--common/Logger.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/common/Logger.h b/common/Logger.h
deleted file mode 100644
index 324b71e..0000000
--- a/common/Logger.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-namespace nv
-{
- enum struct LogSeverity
- {
- kInfo = 0, // Message contains information about normal and expected behavior
- kWarning = 1, // Message contains information about a potentially problematic situation
- kError = 2, // Message contains information about a problem
- kFatal = 3 // Message contains information about a fatal problem; program should be aborted
- };
-
- static const char * LogSeverityStrings[] = { "INFO", "WARNING", "ERROR", "FATAL" };
-
-
- // Note: Implementation of this interface must be thread-safe
- class ILogger
- {
- public:
- // �filename� is NULL and �linenumber� is 0 in release builds of GameWorks
- virtual void log(const char* text, LogSeverity severity, const char* filename, int linenumber) = 0;
- virtual void log(const wchar_t* text, LogSeverity severity, const wchar_t* filename, int linenumber) = 0;
- };
-}
-