Gaia
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
logging.h
1
/*
2
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
3
*
4
* This file is part of Gaia
5
*
6
* Gaia is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU Affero General Public License as published by the Free
8
* Software Foundation (FSF), either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
* details.
15
*
16
* You should have received a copy of the Affero GNU General Public License
17
* version 3 along with this program. If not, see http://www.gnu.org/licenses/
18
*/
19
20
#ifndef GAIA_CYCLOPSLOGGING_H
21
#define GAIA_CYCLOPSLOGGING_H
22
23
#include <QDebug>
24
#include <QDateTime>
25
26
inline
QDebug clog() {
27
return
qDebug() << QString(
"%1:"
).arg(QDateTime::currentDateTime().
toString
())
28
.toAscii().constData();
// toAscii.constData to avoid the "..." around QStrings
29
}
30
31
#endif // GAIA_CYCLOPSLOGGING_H
gaia2::convert::toString
std::string toString(const QString &qstr)
Converts a QString into a std::string.
Definition:
convert.cpp:25
src
tools
cyclops_server
logging.h
Generated by
1.8.11