HermesCommon
2.0
|
Class the output of which is loggable, i.e. that uses functionality of info(), warn() Contains the class Static with the following usage: Anywhere in your program you can write Hermes::Mixins::Loggable::Static::info("whatever you want to output"). More...
#include <mixins.h>
Classes | |
class | Static |
For static logging in user programs. More... | |
Public Member Functions | |
void | set_verbose_output (bool to_set) |
Sets the attribute verbose_output to the paramater option passed. | |
bool | get_verbose_output () const |
Returns the current value of verbose_output;. | |
void | set_verbose_callback (callbackFn callback) |
callbackFn | get_verbose_callback () const |
Returns the current value of verbose_callback;. | |
Class the output of which is loggable, i.e. that uses functionality of info(), warn() Contains the class Static with the following usage: Anywhere in your program you can write Hermes::Mixins::Loggable::Static::info("whatever you want to output").
void Hermes::Mixins::Loggable::set_verbose_callback | ( | callbackFn | callback | ) |
Provides a callback for logging.
[in] | callback | Function to be called for the messaging when verbose_output is set to yes. |
Definition at line 488 of file mixins.cpp.