To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / CollidoscopeApp / include / Log.h @ 16:4dad0b810f18
History | View | Annotate | Download (1.09 KB)
| 1 |
/*
|
|---|---|
| 2 |
|
| 3 |
Copyright (C) 2016 Queen Mary University of London
|
| 4 |
Author: Fiore Martin
|
| 5 |
|
| 6 |
This file is part of Collidoscope.
|
| 7 |
|
| 8 |
Collidoscope is free software: you can redistribute it and/or modify
|
| 9 |
it under the terms of the GNU General Public License as published by
|
| 10 |
the Free Software Foundation, either version 3 of the License, or
|
| 11 |
(at your option) any later version.
|
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful,
|
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 16 |
GNU General Public License for more details.
|
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License
|
| 19 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 20 |
*/
|
| 21 |
|
| 22 |
#pragma once
|
| 23 |
|
| 24 |
|
| 25 |
/**
|
| 26 |
* Utility function to log errors using the cinder::log library.
|
| 27 |
* Errors are logged to collidoscope_error.log file.
|
| 28 |
*
|
| 29 |
*/
|
| 30 |
void logError( const std::string &errorMsg ); |
| 31 |
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Utility function to log info using the cinder::log library.
|
| 35 |
* Errors are logged to the terminal. Used only for debugging.
|
| 36 |
*
|
| 37 |
*/
|
| 38 |
void logInfo( const std::string &infoMsg ); |