summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/Log.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Swiften/Base/Log.h b/Swiften/Base/Log.h
index afcfe90..5296860 100644
--- a/Swiften/Base/Log.h
+++ b/Swiften/Base/Log.h
@@ -11,10 +11,5 @@ namespace Swift {
extern bool logging;
}
-#ifndef SWIFTEN_PLATFORM_WINDOWS
#define SWIFT_LOG(severity) \
- if (!Swift::logging) {} else std::cerr << __FILE__ << ":" << __LINE__ << " " << __FUNCTION__ << ": "
-#else
-#define SWIFT_LOG(severity) \
- if (!Swift::logging) {} else std::cerr
-#endif
+ if (!Swift::logging) {} else std::cerr << "[" << #severity << "] " << __FILE__ << ":" << __LINE__ << " " << __FUNCTION__ << ": "