Class Dune::XT::Common::TimedLogging¶
-
class Dune::XT::Common::TimedLogging¶
A logger that provides colored and prefixed streams.
Note
Most likely you do not want to use this class directly, but TimedLogger() instead.
Method Dune::XT::Common::TimedLogging::default_info_color¶
-
static std::string Dune::XT::Common::TimedLogging::default_info_color()¶
No documentation provided.
Method Dune::XT::Common::TimedLogging::default_debug_color¶
-
static std::string Dune::XT::Common::TimedLogging::default_debug_color()¶
No documentation provided.
Method Dune::XT::Common::TimedLogging::default_warning_color¶
-
static std::string Dune::XT::Common::TimedLogging::default_warning_color()¶
No documentation provided.
Method Dune::XT::Common::TimedLogging::create¶
-
void Dune::XT::Common::TimedLogging::create(const ssize_t max_info_level = default_max_info_level, const ssize_t max_debug_level = default_max_debug_level, const bool enable_warnings = default_enable_warnings, const bool enable_colors = default_enable_colors, const std::string &info_color, const std::string &debug_color, const std::string &warning_color)¶
sets the state
This method is mainly intended to be used on the global TimedLogger() instance. Before calling this method the state is set according to the defaults default_max_info_level, default_max_debug_level and default_enable_warnings.
Note
Calling this method more than once will throw an Exceptions::you_are_using_this_wrong, following the idea of least surprise.
Method Dune::XT::Common::TimedLogging::get¶
-
TimedLogManager Dune::XT::Common::TimedLogging::get(const std::string &id)¶
No documentation provided.
Method Dune::XT::Common::TimedLogging::update_colors¶
-
void Dune::XT::Common::TimedLogging::update_colors()¶
No documentation provided.
Constructor Dune::XT::Common::TimedLogging::TimedLogging¶
-
Dune::XT::Common::TimedLogging::TimedLogging()¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::max_info_level_¶
-
ssize_t Dune::XT::Common::TimedLogging::max_info_level_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::max_debug_level_¶
-
ssize_t Dune::XT::Common::TimedLogging::max_debug_level_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::enable_warnings_¶
-
bool Dune::XT::Common::TimedLogging::enable_warnings_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::enable_colors_¶
-
bool Dune::XT::Common::TimedLogging::enable_colors_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::info_prefix_¶
-
std::string Dune::XT::Common::TimedLogging::info_prefix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::debug_prefix_¶
-
std::string Dune::XT::Common::TimedLogging::debug_prefix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::warning_prefix_¶
-
std::string Dune::XT::Common::TimedLogging::warning_prefix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::info_suffix_¶
-
std::string Dune::XT::Common::TimedLogging::info_suffix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::debug_suffix_¶
-
std::string Dune::XT::Common::TimedLogging::debug_suffix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::warning_suffix_¶
-
std::string Dune::XT::Common::TimedLogging::warning_suffix_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::created_¶
-
bool Dune::XT::Common::TimedLogging::created_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::current_level_¶
-
std::atomic<ssize_t> Dune::XT::Common::TimedLogging::current_level_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::timer_¶
-
Timer Dune::XT::Common::TimedLogging::timer_¶
No documentation provided.
Field Dune::XT::Common::TimedLogging::mutex_¶
-
std::mutex Dune::XT::Common::TimedLogging::mutex_¶
No documentation provided.
Variable Dune::XT::Common::TimedLogging::default_max_info_level¶
-
const ssize_t Dune::XT::Common::TimedLogging::default_max_info_level¶
No documentation provided.
Variable Dune::XT::Common::TimedLogging::default_max_debug_level¶
-
const ssize_t Dune::XT::Common::TimedLogging::default_max_debug_level¶
No documentation provided.
Variable Dune::XT::Common::TimedLogging::default_enable_warnings¶
-
const bool Dune::XT::Common::TimedLogging::default_enable_warnings¶
No documentation provided.
Variable Dune::XT::Common::TimedLogging::default_enable_colors¶
-
const bool Dune::XT::Common::TimedLogging::default_enable_colors¶
No documentation provided.