aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src/mediaplugins/include/core/logger.h
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-27 14:53:07 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-27 14:53:07 +0000
commit84327a4b264040a6ad5bb1e202620dc279fe7871 (patch)
tree1ef5f48c92aa287f2eb2bf8a50a1dabf611f98d4 /mediaplugin/src/mediaplugins/include/core/logger.h
parentc2f78e1e445c4d29a24a09a4af5cb0f6db12ecfb (diff)
downloadusdx-84327a4b264040a6ad5bb1e202620dc279fe7871.tar.gz
usdx-84327a4b264040a6ad5bb1e202620dc279fe7871.tar.xz
usdx-84327a4b264040a6ad5bb1e202620dc279fe7871.zip
fix a few conflicts with <windows.h>:
- prefix log-constants with LOG_ - remove already defined WAIT_TIMEOUT - use more portable _WIN32 instead of __WIN32__ - define <stdint.h> types for MSVC git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2755 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--mediaplugin/src/mediaplugins/include/core/logger.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mediaplugin/src/mediaplugins/include/core/logger.h b/mediaplugin/src/mediaplugins/include/core/logger.h
index c9924b83..91cac10e 100644
--- a/mediaplugin/src/mediaplugins/include/core/logger.h
+++ b/mediaplugin/src/mediaplugins/include/core/logger.h
@@ -48,23 +48,23 @@ public:
}
void info(const std::string &msg, const std::string &context) const {
- log(INFO, msg, context);
+ log(LOG_INFO, msg, context);
}
void status(const std::string &msg, const std::string &context) const {
- log(STATUS, msg, context);
+ log(LOG_STATUS, msg, context);
}
void warn(const std::string &msg, const std::string &context) const {
- log(WARN, msg, context);
+ log(LOG_WARN, msg, context);
}
void error(const std::string &msg, const std::string &context) const {
- log(ERROR, msg, context);
+ log(LOG_ERROR, msg, context);
}
void critical(const std::string &msg, const std::string &context) const {
- log(CRITICAL, msg, context);
+ log(LOG_CRITICAL, msg, context);
}
};