56 #include "PluginLogging.hh" 57 #include <QStringList> 67 pluginName_(_pluginName),
68 defaultLogType_(_type)
81 strings = _message.split(
"\n",QString::SkipEmptyParts);
82 for (
int i = 0 ; i < strings.size(); ++i )
92 strings = _message.split(
"\n",QString::SkipEmptyParts);
93 for (
int i = 0 ; i < strings.size(); ++i )
Logtype
Log types for Message Window.
PluginLogger(QString _pluginName, Logtype _type=LOGOUT)
Standard Constructor.
~PluginLogger()
Destructor.
void slotLog(Logtype _type, QString _message)
Log messages with a given Logtype.
QString pluginName_
prepend this name to all output messages
void log(Logtype, QString)
Sends the generated logs to the core.
void operator<<(const std::string &_s)
Provide operator for streaming.
Logtype defaultLogType_
Default logtype ( used for streams )