logging_qt.hpp

Go to the documentation of this file.
00001 #ifndef __logging_qt_hpp__
00002 #define __logging_qt_hpp__
00003 
00004 #include "application_config.h"
00005 
00006 #if __DO_LOGGING__ && defined(__SYMBIAN32__)
00007 
00008 #include "common/logging_qt_qxdebug.hpp"
00009 
00010 // We could also define this as an overloaded (inline) function. Could
00011 // then also support the const char* taking variant.
00012 #define qxDebug() (QxDebug().Debug())
00013 
00014 #else
00015 
00016 #include <QtGlobal>
00017 // We assume that QT_NO_DEBUG_OUTPUT is defined when !__DO_LOGGING__.
00018 #define qxDebug qDebug
00019 
00020 #endif
00021 
00022 #endif /* __logging_qt_hpp__ */
00023 
00024 /**
00025 
00026 Copyright 2010 Helsinki Institute for Information Technology (HIIT)
00027 and the authors. All rights reserved.
00028 
00029 Authors: Tero Hasu <tero.hasu@hut.fi>
00030 
00031 Permission is hereby granted, free of charge, to any person
00032 obtaining a copy of this software and associated documentation files
00033 (the "Software"), to deal in the Software without restriction,
00034 including without limitation the rights to use, copy, modify, merge,
00035 publish, distribute, sublicense, and/or sell copies of the Software,
00036 and to permit persons to whom the Software is furnished to do so,
00037 subject to the following conditions:
00038 
00039 The above copyright notice and this permission notice shall be
00040 included in all copies or substantial portions of the Software.
00041 
00042 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00043 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00044 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00045 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
00046 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
00047 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00048 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00049 SOFTWARE.
00050 
00051  **/

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:54 2011 by Doxygen 1.6.1