RemoteLogger Class

Installs a Qt messageHandler and sends the logs over UDP. More...

Header: #include <RemoteLogger>
Inherits: Logger

Public Functions

RemoteLogger(QObject *parent = 0)

Public Slots

void appendToLog(const QList<QQmlError> &errors)
void setHostAddress(const QHostAddress &address)
void setPort(int port)

Detailed Description

See also Logger and LogReceiver.

Member Function Documentation

RemoteLogger::RemoteLogger(QObject *parent = 0)

Standard constructor using parent as parent

[slot] void RemoteLogger::appendToLog(const QList<QQmlError> &errors)

Broadcasts each error from the errors.

[slot] void RemoteLogger::setHostAddress(const QHostAddress &address)

Sets the address where the log messages will be sent to.

See also setPort().

[slot] void RemoteLogger::setPort(int port)

Sets the port where the log messages will be sent to.

See also setHostAddress().

© 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.