source: NonGTP/Boost/boost/test/utils/runtime/trace.hpp @ 857

Revision 857, 1.2 KB checked in by igarcia, 18 years ago (diff)
Line 
1//  (C) Copyright Gennadiy Rozental 2005.
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: trace.hpp,v $
9//
10//  Version     : $Revision: 1.1 $
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// ************************************************************************** //
31//   Revision History:
32//
33//   $Log: trace.hpp,v $
34//   Revision 1.1  2005/04/12 06:42:42  rogeeff
35//   Runtime.Param library initial commit
36//
37// ************************************************************************** //
38
39#endif // BOOST_RT_TRACE_HPP_062604GER
Note: See TracBrowser for help on using the repository browser.