#include "qgis_core.h"
#include "qgis.h"
#include <QString>
#include <QDateTime>
#include "qgsconfig.h"
Go to the source code of this file.
|
constexpr int | sQueryLoggerFilePrefixLength = CMAKE_SOURCE_DIR[sizeof( CMAKE_SOURCE_DIR ) - 1] == '/' ? sizeof( CMAKE_SOURCE_DIR ) + 1 : sizeof( CMAKE_SOURCE_DIR ) |
|
◆ QGS_QUERY_LOG_ORIGIN
#define QGS_QUERY_LOG_ORIGIN QString(QString( __FILE__ ).mid( sQueryLoggerFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")") |
◆ QgsSetQueryLogClass
#define QgsSetQueryLogClass |
( |
|
entry, |
|
|
|
_class |
|
) |
| entry.initiatorClass = _class; entry.origin = QString(QString( __FILE__ ).mid( sQueryLoggerFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")"); |
◆ Q_DECLARE_METATYPE()
◆ sQueryLoggerFilePrefixLength
constexpr int sQueryLoggerFilePrefixLength = CMAKE_SOURCE_DIR[sizeof( CMAKE_SOURCE_DIR ) - 1] == '/' ? sizeof( CMAKE_SOURCE_DIR ) + 1 : sizeof( CMAKE_SOURCE_DIR ) |
|
constexpr |