// $Id$
//
-// Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer NETwork research (NET)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
/** \file
\brief Target inline template implementation */
-//#include "Target.ih"
+#include "Target.ih"
// Custom includes
#include "Levels.hh"
// senf::log::Target::route
+#ifndef DOXYGEN
+
template <class Stream>
prefix_ void senf::log::Target::route(action_t action, int index)
{
unroute(&Stream::instance(), &AreaClass::SENFLogArea::instance(), Level::value, action);
}
+#endif
+
///////////////////////////////////////////////////////////////////////////
-// namespace senf::log members
+// namespace senf::log::detail members
template <class Stream, class Area, class Level>
-prefix_ void senf::log::write(std::string msg)
+prefix_ void senf::log::detail::write(std::string msg)
{
TargetRegistry::instance().write(Stream::instance(), Area::instance(), Level::value, msg);
}
+template <class Source>
+prefix_ void senf::log::timeSource()
+{
+ timeSource(std::auto_ptr<Source>(new Source()));
+}
+
///////////////////////////////cti.e///////////////////////////////////////
#undef prefix_