D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/include/libtorrent/kademlia/logging.hpp File Reference

#include <iostream>
#include <fstream>

Go to the source code of this file.

Namespaces

namespace  libtorrent
namespace  libtorrent::dht

Classes

class  libtorrent::dht::log
class  libtorrent::dht::log_event
class  libtorrent::dht::inverted_log_event

Defines

#define TORRENT_DECLARE_LOG(name)   libtorrent::dht::log& name ## _log()
#define TORRENT_DEFINE_LOG(name)
#define TORRENT_LOG(name)


Define Documentation

#define TORRENT_DECLARE_LOG ( name   )     libtorrent::dht::log& name ## _log()

Definition at line 130 of file logging.hpp.

#define TORRENT_DEFINE_LOG ( name   ) 

Value:

libtorrent::dht::log& name ## _log() \
        { \
                static std::ofstream log_file("dht.log", std::ios::app); \
                static libtorrent::dht::log instance(#name, log_file); \
                return instance; \
        }

Definition at line 133 of file logging.hpp.

#define TORRENT_LOG ( name   ) 


Generated on Sun May 25 00:19:42 2008 by  doxygen 1.5.6