Skip to content
Snippets Groups Projects
Commit 191cd1e8 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[common.logging] updated default debug color and documentation

parent ba419506
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ public: ...@@ -205,7 +205,7 @@ public:
} }
static const std::string default_debug_color() static const std::string default_debug_color()
{ {
return "lightgray"; return "darkgray";
} }
static const std::string default_warning_color() static const std::string default_warning_color()
{ {
...@@ -334,7 +334,8 @@ int main() ...@@ -334,7 +334,8 @@ int main()
logger.warn() << "<- The 'warn' prefix left of this should be red!" << std::endl; logger.warn() << "<- The 'warn' prefix left of this should be red!" << std::endl;
} }
\endcode \endcode
* \note Debug logging is only enabled if NDEBUG is not defined. * \note Debug logging is only enabled if NDEBUG is not defined but you might still want to guard calls to
* logger.debug() for performance reasons.
*/ */
TimedLogging& TimedLogger(); TimedLogging& TimedLogger();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment