Mercurial > hg > opencollidoscope
annotate CollidoscopeApp/include/Log.h @ 5:75b744078d66
added license
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Wed, 13 Jul 2016 16:06:46 +0200 |
parents | 7fb593d53361 |
children |
rev | line source |
---|---|
f@5 | 1 /* |
f@5 | 2 |
f@5 | 3 Copyright (C) 2016 Queen Mary University of London |
f@5 | 4 Author: Fiore Martin |
f@5 | 5 |
f@5 | 6 This file is part of Collidoscope. |
f@5 | 7 |
f@5 | 8 Collidoscope is free software: you can redistribute it and/or modify |
f@5 | 9 it under the terms of the GNU General Public License as published by |
f@5 | 10 the Free Software Foundation, either version 3 of the License, or |
f@5 | 11 (at your option) any later version. |
f@5 | 12 |
f@5 | 13 This program is distributed in the hope that it will be useful, |
f@5 | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
f@5 | 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
f@5 | 16 GNU General Public License for more details. |
f@5 | 17 |
f@5 | 18 You should have received a copy of the GNU General Public License |
f@5 | 19 along with this program. If not, see <http://www.gnu.org/licenses/>. |
f@5 | 20 */ |
f@5 | 21 |
f@0 | 22 #pragma once |
f@0 | 23 |
f@0 | 24 |
f@3 | 25 /** |
f@3 | 26 * Utility function to log errors using the cinder::log library. |
f@3 | 27 * Errors are logged to collidoscope_error.log file. |
f@3 | 28 * |
f@3 | 29 */ |
f@0 | 30 void logError( const std::string &errorMsg ); |
f@0 | 31 |
f@0 | 32 |
f@3 | 33 /** |
f@3 | 34 * Utility function to log info using the cinder::log library. |
f@3 | 35 * Errors are logged to the terminal. Used only for debugging. |
f@3 | 36 * |
f@3 | 37 */ |
f@3 | 38 void logInfo( const std::string &infoMsg ); |