#include <string>
#include <list>
#include <strstream>
#include <fstream>
#include "receiver.h"
Go to the source code of this file.
Namespaces | |
namespace | utils |
namespace | utils::logging |
Defines | |
#define | log utils::logging::dolog(__FILE__, __LINE__) |
creates a dolog object. More... | |
#define | dlog utils::logging::dolog(__FILE__, __LINE__) |
creates a dolog object in DEBUG mode only. More... | |
#define | LOG(v) log << #v << '=' << v << endl; |
Logs a value. More... | |
#define | DLOG(v) dlog << #v << '=' << v << endl; |
Logs a value in DEBUG mode only. More... |
|
Logs a value in DEBUG mode only. If NDEBUG is defined this macro expands to a no-op. Otherwise it produces logging output like "name of variable=value of variable." |
|
Logs a value. This macro produces logging output like "name of variable=value of variable." |
|
creates a dolog object in DEBUG mode only. If NDEBUG is defined this macro expands to a no-op. Therefore you can use it to produce some logging in debug mode only. |
|
creates a dolog object. The so-created dolog object stores the current source file and line number. It then collects all data sent to it via the '<<' operator. On destruction its contents is written to the application's log for further proceeding. |