ssu
ssulog_p.h
Go to the documentation of this file.
1 
8 #ifndef _SSULOG_P_H
9 #define _SSULOG_P_H
10 
11 #include <QObject>
12 
13 #include <systemd/sd-journal.h>
14 
15 class SsuLog
16 {
17 
18 public:
19  static SsuLog *instance();
23  void print(int priority, const QString &message);
24 
25 private:
26  SsuLog() {}
27  Q_DISABLE_COPY(SsuLog)
28 
29  static SsuLog *ssuLog;
30  int ssuLogLevel;
31  QString fallbackLogPath;
32 };
33 
34 
35 #endif
SsuLog
Definition: ssulog_p.h:15
SsuLog::print
void print(int priority, const QString &message)
Definition: ssulog.cpp:27