TreeFrogFramework: src/tloggerplugin.h Source File

Go to the documentation of this file.

1#pragma once

2#include <QObject>

3#include <QStringList>

4#include <QtPlugin>

5#include <TGlobal>

6

8

9constexpr auto TLoggerInterface_iid = "org.treefrogframework.TreeFrog.TLoggerInterface/1.0";

10

11

17

19

20

22 Q_OBJECT

24

25public:

29

31};

32

The TLoggerInterface class provides an interface to implement TLogger plugins.

Definition tloggerplugin.h:12

virtual TLogger * create(const QString &key)=0

virtual ~TLoggerInterface()

Definition tloggerplugin.h:14

The TLoggerPlugin class provides an abstract base for custom TLogger plugins.

Definition tloggerplugin.h:21

virtual TLogger * create(const QString &key)=0

Implement this function to create a logger matching the name specified by the given key.

~TLoggerPlugin()

Definition tloggerplugin.h:28

TLoggerPlugin(QObject *parent=0)

Constructor.

Definition tloggerplugin.h:26

The TLogger class provides an abstract base of logging functionality.

Definition tlogger.h:19

#define T_CORE_EXPORT

Definition tdeclexport.h:28

constexpr auto TLoggerInterface_iid

Definition tloggerplugin.h:9