#define HH_SENF_Utils_Logger_Target_ 1
// Custom includes
-#include <set>
#include <vector>
#include <boost/utility.hpp>
-#include <boost/type_traits/is_convertible.hpp>
-#include <senf/Utils/singleton.hh>
-#include <senf/Utils/mpl.hh>
-#include "StreamRegistry.hh"
#include <senf/Utils/Exception.hh>
-#include "TimeSource.hh"
#include <senf/Utils/Console/LazyDirectory.hh>
+#include "TimeSource.hh"
+#include "Levels.hh"
//#include "Target.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
/** \defgroup targets Targets
namespace detail { class TargetRegistry; }
namespace detail { class AreaBase; }
namespace detail { struct LogParameters; }
+ namespace detail { struct StreamBase; }
/** \brief Logging target base class
The routing table is processed from first route to last route, the first matching entry
determines the fate of a log messages. Therefore, the ordering of routing entries is
important.
-
+
If no position is explicitly specified, new routing entries are added to the end of the
routing table. All routing statements however take an index as optional argument to
explicitly specify the position of the new routing entry.
class Target : private boost::noncopyable
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Types
/** \brief Routing action
typedef RIB::const_iterator iterator; ///< Routing table iterator
typedef RIB::size_type size_type;
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
explicit Target(std::string const & name);
virtual ~Target();
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
///\name Routing
- ///\{
+ //\{
# ifdef DOXYGEN
# endif
- ///\}
+ //\}
/** \brief Exception: Invalid stream */
struct InvalidStreamException : public senf::Exception
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "Target.cci"
//#include "Target.ct"
#include "Target.cti"