log.hh File Reference

#include <ostream>
#include <sstream>
#include <cassert>
#include <sys/time.h>
#include "log.hxx"

Go to the source code of this file.

Namespaces

namespace  olsr
namespace  olsr::utl

Classes

struct  olsr::utl::of
class  olsr::utl::LevelableBuf
class  olsr::utl::PrefixBuf< F, C, T >
struct  olsr::utl::StringPrefixer
struct  olsr::utl::Timestamper
struct  olsr::utl::basic_indent_< C, T >
class  olsr::utl::basic_dummyostream< C, T >
class  olsr::utl::basic_ybuf< C, T >
class  olsr::utl::basic_levelbuf< C, T >
class  olsr::utl::basic_dummybuf< C, T >
struct  olsr::utl::up_
struct  olsr::utl::down_

Defines

#define QOLYESTER_UTL_LOG_HH   1
#define indent(S)   utl::basic_indent<char, std::char_traits<char> >(S)

Typedefs

typedef utl::PrefixBuf< StringPrefixer,
char > 
olsr::StringPrefixBuf
typedef utl::PrefixBuf< Timestamper,
char > 
olsr::TimestampBuf
typedef utl::basic_dummyostream<
char > 
olsr::DummyOStream
typedef utl::basic_levelbuf<
char > 
olsr::LevelBuf
typedef utl::basic_ybuf< char > olsr::YBuf
typedef utl::basic_dummybuf<
char > 
olsr::DummyBuf
typedef DummyOStream olsr::debug_ostream_t

Functions

std::ostream & olsr::utl::operator<< (std::ostream &os, const of &f)
template<class C, class T>
std::basic_ostream< C, T > & olsr::utl::indent (std::basic_ostream< C, T > &os)
template<class C, class T>
std::basic_ostream< C, T > & olsr::utl::deindent (std::basic_ostream< C, T > &os)
template<typename C, typename T>
basic_indent_< C, T > olsr::utl::basic_indent (const std::basic_string< C, T > &s=std::basic_string< C, T >(2, ' '))
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::operator<< (std::basic_ostream< C, T > &os, const basic_indent_< C, T > &i)
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::up (std::basic_ostream< C, T > &os)
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::down (std::basic_ostream< C, T > &os)
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::reset (std::basic_ostream< C, T > &os)
up_ olsr::utl::up (unsigned i=1)
down_ olsr::utl::down (unsigned i=1)
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::operator<< (std::basic_ostream< C, T > &os, const up_ &u)
template<typename C, typename T>
std::basic_ostream< C, T > & olsr::utl::operator<< (std::basic_ostream< C, T > &os, const down_ &d)

Variables

unsigned olsr::current_log_level
bool olsr::timestamps


Define Documentation

#define indent (  )     utl::basic_indent<char, std::char_traits<char> >(S)

#define QOLYESTER_UTL_LOG_HH   1


Generated on Mon Sep 10 17:02:13 2007 for Qolyester daemon by  doxygen 1.5.1