annotate CollidoscopeApp/include/Log.h @ 18:f1ff1a81be20
tip
Changed licenses names.
Fixed one comment and usage text in CollidoscopeApp.cpp.
author |
Fiore Martin <f.martin@qmul.ac.uk> |
date |
Thu, 25 Aug 2016 12:07:50 +0200 |
parents |
75b744078d66 |
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 );
|