fix roscpp compilation due to it using internal rosconsole APIs that changed

This commit is contained in:
Josh Faust 2010-02-03 05:47:05 +00:00
parent fc4140a088
commit 4b9552418d
1 changed files with 2 additions and 2 deletions

View File

@ -52,11 +52,11 @@ typedef helpers::ObjectPtrT<Level> LevelPtr;
\
if (ROS_UNLIKELY(enabled)) \
{ \
ros::console::print( loc.logger_, *loc.log4cxx_level_, LOG4CXX_LOCATION, __VA_ARGS__); \
ROSCONSOLE_PRINT_AT_LOCATION(__VA_ARGS__); \
} \
else if (log4cxx::LoggerPtr logger = ros::file_log::getFileOnlyLogger()) \
{ \
ros::console::print(logger, ros::file_log::getDebugLevel(), LOG4CXX_LOCATION, __VA_ARGS__); \
ros::console::print(logger, ros::console::levels::Debug, __FILE__, __LINE__, __ROSCONSOLE_FUNCTION__, __VA_ARGS__); \
} \
} while(0)