Commit 97d6b059 authored by Julien Wintz's avatar Julien Wintz
Browse files

Do not override dtkLog in Base classes.

parent 3c1ce998
......@@ -151,7 +151,6 @@ endif(DTK_WRAPPING_TCL)
if(DTK_WRAPPING_PYTHON)
set(DTK_PYTHON_VERSION 2 CACHE STRING "Python version to use: 2, 2.x, 3, 3.x, or empty")
find_package(PythonInterp ${DTK_PYTHON_VERSION})
......@@ -167,7 +166,6 @@ else(PYTHONLIBS_FOUND)
set(DTK_HAVE_PYTHON 0)
endif(PYTHONLIBS_FOUND)
endif(DTK_WRAPPING_PYTHON)
mark_as_advanced(SWIG_DIR)
......
......@@ -14,7 +14,9 @@
#pragma once
#include <dtkLog>
#include <dtkMeta>
// ///////////////////////////////////////////////////////////////////
// dtkCorePluginFactory implementation
// ///////////////////////////////////////////////////////////////////
......@@ -36,7 +38,7 @@ template <typename T> dtkCorePluginFactory<T>::~dtkCorePluginFactory(void)
template <typename T> void dtkCorePluginFactory<T>::record(const QString& key, creator func)
{
if (this->creators.contains(key)) {
qDebug() << Q_FUNC_INFO << "Factory already contains key" << key << ". Nothing is done";
dtkTrace() << Q_FUNC_INFO << "Factory already contains key" << key << ". Nothing is done";
return;
}
......
......@@ -20,7 +20,6 @@
#include <QtCore>
#include <iostream>
// 1GB max log file size by default
#define DEFAULT_MAX_FILE_SIZE 1073741824L
class dtkLogModel;
......@@ -56,8 +55,8 @@ public:
void redirectCerr(dtkLog::Level level = dtkLog::Error);
private:
dtkLogger(void);
dtkLogger(const dtkLogger& other);
dtkLogger(void);
dtkLogger(const dtkLogger& other);
~dtkLogger(void);
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment