gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
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 dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

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

Typedefs

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 &)
 

Functions

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

Variables

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):

Author
Ben Farmer (benja.nosp@m.min..nosp@m.farme.nosp@m.r@fy.nosp@m.sik.s.nosp@m.u.se)
Date
2014 Mar, 2016 Jan
Author
Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
Date
2014 Mar

Definition in file logger.hpp.