Message::Warning: For incorrect inputs in algorithms but still adatable.

Message::Error: For undesired behaviour which can break algorithms' logic.

Each logging category has a dedicated static function:

info()

warning()

error()

These functions send the given message to a Logger::Device set. This device has the role to write the message (in a console, a file, etc.). By default, the message are sent into the standard cout/cerr streams. To set a device, you have to use the method Logger::setDevice()

Send a message to the set device. If no device is set, a default one is created and send info messages to the std::cout stream and warning and error messages to the std::cerr stream. You can set a device using the method Logger::setDevice().

Compared to the method Logger::sendMessage(), this method creates also a string based on the given variadic arguments.

Send a message to the set device. If no device is set, a default one is created and send info messages to the std::cout stream and warning and error messages to the std::cerr stream. You can set a device using the method Logger::setDevice().