gramods
Classes | Public Member Functions | Static Public Member Functions | List of all members
gramods::gmCore::Console Struct Reference

Console for easier handling of runtime and debugging information. More...

#include <Console.hh>

Inheritance diagram for gramods::gmCore::Console:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmCore::Console:
Collaboration graph
[legend]

Public Member Functions

 Console (ConsoleLevel level, std::string tag, std::string file, int line, std::string function)
 
 Console (ConsoleLevel level, std::string tag)
 

Static Public Member Functions

static void addSink (std::shared_ptr< MessageSink > ms)
 
static void removeSink (std::shared_ptr< MessageSink > ms)
 
static void removeAllSinks ()
 
static MessageSinkgetDefaultSink ()
 

Detailed Description

Console for easier handling of runtime and debugging information.

For convenience, use the macros GM_ERR, GM_WRN, GM_INF, GM_DBG1, GM_DBG2 and GM_DBG3


The documentation for this struct was generated from the following files: