QDebug write(Logger::LogLevel logLevel, const char* file, int line, const char* function) { LogDevice* d = logDevice(); d->lock(logLevel, file, line, function); return QDebug(d); }
/*! \brief Writes a message to the logger. and returs a QDebug object with the current logdevice to stream additional data to. */ QDebug write(Logger::LogLevel logLevel, const char* file, int line, const char* function, unsigned int source) { LogDevice* d = logDevice(); d->lock(logLevel, file, line, function, source); return QDebug(d).nospace(); }