CuteLogger
Fast and simple logging solution for Qt based applications
AndroidAppender.h
1 #ifndef ANDROIDAPPENDER_H
2 #define ANDROIDAPPENDER_H
3 
4 // Local
5 #include <AbstractStringAppender.h>
6 
7 
8 class AndroidAppender : public AbstractStringAppender
9 {
10  public:
11  AndroidAppender();
12 
13  static int androidLogPriority(Logger::LogLevel);
14 
15  protected:
16  void append(const QDateTime& timeStamp, Logger::LogLevel logLevel, const char* file, int line,
17  const char* function, const QString& category, const QString& message);
18 
19 };
20 
21 #endif // ANDROIDAPPENDER_H
Logger::LogLevel
LogLevel
Describes the possible severity levels of the log records.
Definition: Logger.h:83
AbstractAppender::append
virtual void append(const QDateTime &timeStamp, Logger::LogLevel logLevel, const char *file, int line, const char *function, const QString &category, const QString &message)=0
Writes the log record to the logger instance.
AbstractStringAppender
The AbstractStringAppender class provides a convinient base for appenders working with plain text for...
Definition: AbstractStringAppender.h:26