Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / test / utils / runtime / trace.hpp
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
6 //  See http://www.boost.org/libs/test for the library home page.
7 //
8 //  File        : $RCSfile$
9 //
10 //  Version     : $Revision$
11 //
12 //  Description : optional internal tracing
13 // ***************************************************************************
14
15 #ifndef BOOST_RT_TRACE_HPP_062604GER
16 #define BOOST_RT_TRACE_HPP_062604GER
17
18 // Boost.Runtime.Parameter
19 #include <boost/test/utils/runtime/config.hpp>
20
21 #ifdef BOOST_RT_PARAM_DEBUG
22
23 #include <iostream>
24
25 #  define BOOST_RT_PARAM_TRACE( str ) std::cerr << str << std::endl
26 #else
27 #  define BOOST_RT_PARAM_TRACE( str )
28 #endif
29
30 #endif // BOOST_RT_TRACE_HPP_062604GER