Lines Matching full:logging
29 #include "utils/logging/operations.hpp"
49 namespace logging = utils::logging;
55 /// The general idea for the application-wide logging goes like this:
57 /// 1. The application starts. Logging is initialized to capture _all_ log
61 /// 2. The application offers the user a way to select the logging level and a
71 /// 5. The internal state of the logging module is updated to only capture
82 /// application. Tests should skip this call so that the logging messages go to
96 logging::level log_level;
101 /// First time recorded by the logging module.
105 std::vector< std::pair< logging::level, std::string > > backlog;
111 log_level(logging::level_debug), in global_state()
124 /// destroyed before the logging methods in the destructors get a chance to run
149 level_to_char(const logging::level level) in level_to_char()
152 case logging::level_error: return 'E'; in level_to_char()
153 case logging::level_warning: return 'W'; in level_to_char()
154 case logging::level_info: return 'I'; in level_to_char()
155 case logging::level_debug: return 'D'; in level_to_char()
177 logging::generate_log_name(const fs::path& logdir, const std::string& progname) in generate_log_name()
199 logging::log(const level message_level, const char* file, const int line, in log()
234 /// Sets the logging to record messages in memory for later flushing.
239 logging::set_inmemory(void) in set_inmemory()
256 /// the logging module to send log entries to disk from this point onwards.
269 logging::set_persistency(const std::string& new_level, const fs::path& path) in set_persistency()
295 for (std::vector< std::pair< logging::level, std::string > >::const_iterator in set_persistency()