19 #ifndef UBUNTU_DOWNLOADMANAGER_CLIENT_LOGGER_H
20 #define UBUNTU_DOWNLOADMANAGER_CLIENT_LOGGER_H
25 #include <QStringList>
31 namespace DownloadManager {
36 class DownloadManagerPCW;
37 class DownloadsListManagerPCW;
38 class GroupManagerPCW;
39 class MetadataDownloadsListManagerPCW;
56 friend class Ubuntu::DownloadManager::DownloadImpl;
57 friend class Ubuntu::DownloadManager::DownloadPCW;
58 friend class Ubuntu::DownloadManager::ManagerImpl;
59 friend class Ubuntu::DownloadManager::DownloadManagerPCW;
60 friend class Ubuntu::DownloadManager::DownloadsListManagerPCW;
61 friend class Ubuntu::DownloadManager::GroupManagerPCW;
62 friend class Ubuntu::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;
static void init(Level lvl, const QString &path)
The Logger class allows to control a logging that is performed within the library allowed the develop...