Connects to a port and waits for log messages sent via UDP. More...
|void||message(int type, const QString &msg, const QUrl &url, int line, int column)|
Member Function Documentation
LogReceiver::LogReceiver(QObject *parent = 0)
Standard constructor using parent as parent
Binds the socket to the address and port using UDP
[signal] void LogReceiver::message(int type, const QString &msg, const QUrl &url, int line, int column)
This signal is emitted whenever a datagram arrives on the socket.
The type is the type of the message. The msg is the message content of the log entry. The url is the source of the document emitting the log. And line and column is the position in the source code.
[slot] void LogReceiver::setAddress(const QString &address)
Sets the address on which we wait for incoming logs
See also address().
Sets the port on which we wait for incoming logs
See also port().
QString LogReceiver::address() const
The address on which we wait for incoming logs
See also setAddress().
The port on which we wait for incoming logs
See also setPort().
© 2019 Luxoft Sweden AB. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.