Fraxinus
16.5.0-fx-rc9
An IGT application
|
Logging of status, errors, debug to console and file. More...
Namespaces | |
cx | |
Namespace for all CustusX production code. | |
Classes | |
class | cx::Audio |
Interface for playing sounds. More... | |
class | cx::MessageListener |
class | cx::MessageRepository |
Typedefs | |
typedef cx::Message | Message |
Functions | |
Q_DECLARE_METATYPE (Message) | |
Logging of status, errors, debug to console and file.
Thread for log handling. Used inside Reporter.
Thread for log handling. Used inside LogFileWatcher.
Log file, format, read and write.
Logging service.
A representation of a Reporter message.
Send info in different error levels, and route them to file, or to a console via qt signals. Use the class ConsoleWidget for this. Reporter also captures cout and cerr.
Use the MessageListener to catch emitted log messages.
Call methods in the object's thread, via the thread message queue.
Thread for log handling. Used inside Log.
#define CX_ASSERT | ( | statement | ) |
Definition at line 131 of file cxLogger.h.
#define CX_LOG_CHANNEL_DEBUG | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlDEBUG).logger() |
Log to a named channel Usage: CX_LOG_CHANNEL_INFO("channel_name") << "Message " << "to output"; Will be written to the file channel_name.txt
Definition at line 122 of file cxLogger.h.
#define CX_LOG_CHANNEL_ERROR | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlERROR).logger() |
Definition at line 126 of file cxLogger.h.
#define CX_LOG_CHANNEL_INFO | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlINFO).logger() |
Definition at line 123 of file cxLogger.h.
#define CX_LOG_CHANNEL_SEVERITY_INTERNAL | ( | channel, | |
severity | |||
) | cx::MessageLogger(__FILE__, __LINE__, Q_FUNC_INFO, channel, severity) |
Definition at line 100 of file cxLogger.h.
#define CX_LOG_CHANNEL_SUCCESS | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlSUCCESS).logger() |
Definition at line 124 of file cxLogger.h.
#define CX_LOG_CHANNEL_VOLATILE | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlVOLATILE).logger() |
Definition at line 127 of file cxLogger.h.
#define CX_LOG_CHANNEL_WARNING | ( | channel | ) | CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlWARNING).logger() |
Definition at line 125 of file cxLogger.h.
#define CX_LOG_DEBUG CX_LOG_SEVERITY_INTERNAL(cx::mlDEBUG).logger |
Log to the default channel Usage: One of the following: CX_LOG_INFO("Message to output"); CX_LOG_INFO() << "Message " << "to output";
Definition at line 110 of file cxLogger.h.
#define CX_LOG_ERROR CX_LOG_SEVERITY_INTERNAL(cx::mlERROR).logger |
Definition at line 114 of file cxLogger.h.
#define CX_LOG_INFO CX_LOG_SEVERITY_INTERNAL(cx::mlINFO).logger |
Definition at line 111 of file cxLogger.h.
#define CX_LOG_SEVERITY_INTERNAL | ( | severity | ) | cx::MessageLogger(__FILE__, __LINE__, Q_FUNC_INFO, "console", severity) |
Definition at line 97 of file cxLogger.h.
#define CX_LOG_SUCCESS CX_LOG_SEVERITY_INTERNAL(cx::mlSUCCESS).logger |
Definition at line 112 of file cxLogger.h.
#define CX_LOG_VOLATILE CX_LOG_SEVERITY_INTERNAL(cx::mlVOLATILE).logger |
Definition at line 115 of file cxLogger.h.
#define CX_LOG_WARNING CX_LOG_SEVERITY_INTERNAL(cx::mlWARNING).logger |
Definition at line 113 of file cxLogger.h.
typedef cx::Message Message |
Definition at line 107 of file cxLogMessage.h.
Q_DECLARE_METATYPE | ( | Message | ) |