19#ifndef LOMIRI_DOWNLOADMANAGER_CLIENT_LOGGER_H
20#define LOMIRI_DOWNLOADMANAGER_CLIENT_LOGGER_H
31namespace DownloadManager {
36class DownloadManagerPCW;
37class DownloadsListManagerPCW;
39class MetadataDownloadsListManagerPCW;
56 friend class Lomiri::DownloadManager::DownloadImpl;
57 friend class Lomiri::DownloadManager::DownloadPCW;
58 friend class Lomiri::DownloadManager::ManagerImpl;
59 friend class Lomiri::DownloadManager::DownloadManagerPCW;
60 friend class Lomiri::DownloadManager::DownloadsListManagerPCW;
61 friend class Lomiri::DownloadManager::GroupManagerPCW;
62 friend class Lomiri::DownloadManager::MetadataDownloadsListManagerPCW;
82 static void init(
Level lvl,
const QString& path);
88 static void log(
Level lvl,
const QString& msg);
89 static void log(
Level lvl,
const QStringList& msg);
90 static void log(
Level lvl,
const QString& msg, QMap<QString, QString> map);
91 static void log(
Level lvl,
const QString& msg, QMap<QString, QVariant> map);
92 static void log(
Level lvl,
const QString& msg, DownloadStruct downStruct);
98 static LoggerPrivate* _private;
The Logger class allows to control a logging that is performed within the library allowed the develop...
static void init(Level lvl, const QString &path)