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