trace.hpp 831 B

123456789101112131415161718192021222324252627282930
  1. // (C) Copyright Gennadiy Rozental 2005-2008.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/test for the library home page.
  6. //
  7. // File : $RCSfile$
  8. //
  9. // Version : $Revision: 49312 $
  10. //
  11. // Description : optional internal tracing
  12. // ***************************************************************************
  13. #ifndef BOOST_RT_TRACE_HPP_062604GER
  14. #define BOOST_RT_TRACE_HPP_062604GER
  15. // Boost.Runtime.Parameter
  16. #include <boost/test/utils/runtime/config.hpp>
  17. #ifdef BOOST_RT_PARAM_DEBUG
  18. #include <iostream>
  19. # define BOOST_RT_PARAM_TRACE( str ) std::cerr << str << std::endl
  20. #else
  21. # define BOOST_RT_PARAM_TRACE( str )
  22. #endif
  23. #endif // BOOST_RT_TRACE_HPP_062604GER