Forward declare minimial logging components needed to use logger. More...
Detailed DescriptionForward declare minimial logging components needed to use logger. Typedef Documentation◆ ios_type
Definition at line 58 of file logger.hpp. ◆ manip1
Definition at line 57 of file logger.hpp. ◆ manip2Definition at line 59 of file logger.hpp. ◆ manip3
Definition at line 60 of file logger.hpp. Function Documentation◆ checktags()
Function to inspect tags and their associated strings. For testing purposes only. Definition at line 163 of file logging.cpp. References components(), echoes(), flags(), msgtypes(), and tag2str().
Here is the call graph for this function:
![]() ◆ components()
Definition at line 81 of file logging.cpp. References Gambit::LogTags::backends, Gambit::LogTags::core, Gambit::LogTags::debug, Gambit::LogTags::def, Gambit::LogTags::dependency_resolver, Gambit::LogTags::err, Gambit::LogTags::fatal, Gambit::LogTags::info, Gambit::LogTags::inifile, Gambit::LogTags::logs, Gambit::LogTags::models, Gambit::LogTags::nonfatal, Gambit::LogTags::printers, Gambit::LogTags::repeat_to_cerr, Gambit::LogTags::repeat_to_cout, Gambit::LogTags::scanner, Gambit::LogTags::utils, and Gambit::LogTags::warn. Referenced by checktags(), Gambit::register_module_with_log(), and Gambit::Logging::SortedMessage::SortedMessage(). 83 // We add the core components here, but the module and backend numbers are added later, so the set cannot be const. 84 static LogTag core_a[] = {def, core, logs, models, dependency_resolver, scanner, inifile, printers, utils, backends}; Definition: log_tags.hpp:55 Definition: log_tags.hpp:54 Definition: log_tags.hpp:51 Definition: log_tags.hpp:48 Definition: log_tags.hpp:53 Definition: log_tags.hpp:52 Definition: log_tags.hpp:47 Definition: log_tags.hpp:49 Definition: log_tags.hpp:46
Here is the caller graph for this function:
![]() ◆ echoes()
Definition at line 73 of file logging.cpp. References Gambit::LogTags::repeat_to_cerr, and Gambit::LogTags::repeat_to_cout. Referenced by checktags(), and Gambit::Logging::SortedMessage::SortedMessage(). 76 static const std::set<LogTag> echoes_set(echoes_a, echoes_a+sizeof(echoes_a)/sizeof(echoes_a[0]));
Definition: log_tags.hpp:44 Definition: log_tags.hpp:43
Here is the caller graph for this function:
![]() ◆ flags()
Definition at line 65 of file logging.cpp. References Gambit::LogTags::fatal, and Gambit::LogTags::nonfatal. Referenced by checktags(), Gambit::Scanner::Plugins::Plugin_Loader::Plugin_Loader(), and Gambit::Logging::SortedMessage::SortedMessage(). Definition: log_tags.hpp:41 Definition: log_tags.hpp:40
Here is the caller graph for this function:
![]() ◆ getfreetag()
Definition at line 138 of file logging.cpp. References tag2str(). Referenced by Gambit::register_module_with_log(). 144 // Uh oh, seems like we ran out of integers. If this happens you are screwed, and we have to rewrite the code to use long ints instead, or you have to unhook some modules. 147 ss << "Error in logger.cpp! It seems that you have so many logging tags that you have exceeded the maximum allowed integer. There is no way you can fix this except to have fewer modules hooked up to gambit all at once. Otherwise we have to rewrite the logger to work with long ints or some such" << std::endl;
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ msgtypes()
Definition at line 57 of file logging.cpp. References Gambit::LogTags::debug, Gambit::LogTags::err, Gambit::LogTags::info, and Gambit::LogTags::warn. Referenced by checktags(), and Gambit::Logging::SortedMessage::SortedMessage(). Definition: log_tags.hpp:38 Definition: log_tags.hpp:35 Definition: log_tags.hpp:36 Definition: log_tags.hpp:37
Here is the caller graph for this function:
![]() ◆ operator<<() [1/8]Stream functions for use with LogMaster. {@ Stream functions overloads for working with the logger Stream functions for use with LogMaster Definition at line 52 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [2/8]Handle LogTag input. Definition at line 59 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [3/8]
Handle end of message character. Definition at line 66 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [4/8]Handle various stream manipulators. Definition at line 73 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [5/8]Definition at line 79 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [6/8]Definition at line 85 of file logger.cpp. References Gambit::Logging::LogMaster::input().
Here is the call graph for this function:
![]() ◆ operator<<() [7/8]
template<typename TYPE >
Definition at line 78 of file logger.hpp. ◆ operator<<() [8/8]
template<typename TYPE >
Definition at line 88 of file logger.hpp. ◆ str2tag()
Definition at line 152 of file logging.cpp. References tag2str(). Referenced by Gambit::backend_functor_common< TYPE(*)(ARGS...), TYPE, ARGS... >::backend_functor_common(), Gambit::Logging::LogMaster::initialise(), and Gambit::module_functor_common::module_functor_common().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ tag2str()
Definition at line 130 of file logging.cpp. Referenced by checktags(), getfreetag(), Gambit::register_module_with_log(), Gambit::Logging::SortedMessage::SortedMessage(), str2tag(), and Gambit::Logging::StdLogger::writetags().
Here is the caller graph for this function:
![]() Variable Documentation◆ verbose
Definition at line 52 of file logging.cpp. Referenced by Gambit::PostProcessor::get_done_points(), and scanner_plugin(). |