gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
logger.hpp File Reference

Logging access header for GAMBIT. More...

#include <sstream>
#include <string>
#include <map>
#include <set>
#include "gambit/Logs/log_tags.hpp"
#include "gambit/Utils/stream_overloads.hpp"
#include "gambit/Utils/export_symbols.hpp"
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  Gambit::Logging::endofmessage
 Special (empty) struct for signalling end of message to LogMaster stream. More...


 TODO: see if we can use this one:
 Forward declare minimial logging components needed to use logger.


typedef std::ostream &(* Gambit::Logging::manip1) (std::ostream &)
typedef std::basic_ios< std::ostream::char_type, std::ostream::traits_type > Gambit::Logging::ios_type
typedef ios_type &(* Gambit::Logging::manip2) (ios_type &)
typedef std::ios_base &(* Gambit::Logging::manip3) (std::ios_base &)


int Gambit::Logging::str2tag (const std::string &)
std::map< int, std::string > & Gambit::Logging::tag2str ()
std::set< int > & Gambit::Logging::components ()
EXPORT_SYMBOLS Logging::LogMaster & Gambit::logger ()
 Function to retrieve a reference to the Gambit global log object. More...
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &, const std::string &)
 Stream functions for use with LogMaster. More...
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &logobj, const LogTag &tag)
 Handle LogTag input. More...
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &logobj, const endofmessage &eom)
 Handle end of message character. More...
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &logobj, const manip1 fp)
 Handle various stream manipulators. More...
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &, const manip2)
EXPORT_SYMBOLS LogMaster & Gambit::Logging::operator<< (LogMaster &, const manip3)
template<typename TYPE >
LogMaster & Gambit::Logging::operator<< (LogMaster &logobj, const TYPE &input)
template<typename TYPE >
LogMaster & Gambit::Logging::operator<< (LogMaster &logobj, TYPE &input)


const Logging::endofmessage Gambit::EOM = Logging::endofmessage()
 Explicit const instance of the end of message struct in Gambit namespace. More...

Detailed Description

Logging access header for GAMBIT.

Declares the minimal amount needed for standard use of the logger. For more advanced use, include 'logmaster.hpp' as well (provides the full declaration of the LogMaster class).

Authors (add name and date if you modify):

Ben Farmer (
2014 Mar, 2016 Jan
Pat Scott (
2014 Mar

Definition in file logger.hpp.