yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #07093
[Branch ~yade-dev/yade/trunk] Rev 2741: 1. LOG_INFO and LOG_WARN are disabled when log4cxx feature is disabled.
------------------------------------------------------------
revno: 2741
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: yade
timestamp: Tue 2011-02-15 17:52:24 +0100
message:
1. LOG_INFO and LOG_WARN are disabled when log4cxx feature is disabled.
modified:
lib/base/Logging.hpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'lib/base/Logging.hpp'
--- lib/base/Logging.hpp 2011-01-21 08:14:28 +0000
+++ lib/base/Logging.hpp 2011-02-15 16:52:24 +0000
@@ -61,8 +61,8 @@
# define _LOG_HEAD __FILE__ ":"<<__LINE__<<" "<<__FUNCTION__<<": "
# define LOG_TRACE(msg) // _POOR_MANS_LOG("TRACE",msg)
# define LOG_DEBUG(msg) // _POOR_MANS_LOG("DEBUG",msg)
-# define LOG_INFO(msg) _POOR_MANS_LOG("INFO ",msg)
-# define LOG_WARN(msg) _POOR_MANS_LOG("WARN ",msg)
+# define LOG_INFO(msg) // _POOR_MANS_LOG("INFO ",msg)
+# define LOG_WARN(msg) // _POOR_MANS_LOG("WARN ",msg)
# define LOG_ERROR(msg) _POOR_MANS_LOG("ERROR",msg)
# define LOG_FATAL(msg) _POOR_MANS_LOG("FATAL",msg)
Follow ups