Mercurial > hg > opencollidoscope
annotate CollidoscopeApp/include/Log.h @ 3:7fb593d53361
added comments
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Tue, 12 Jul 2016 18:29:38 +0200 |
parents | 02467299402e |
children | 75b744078d66 |
rev | line source |
---|---|
f@0 | 1 #pragma once |
f@0 | 2 |
f@0 | 3 |
f@3 | 4 /** |
f@3 | 5 * Utility function to log errors using the cinder::log library. |
f@3 | 6 * Errors are logged to collidoscope_error.log file. |
f@3 | 7 * |
f@3 | 8 */ |
f@0 | 9 void logError( const std::string &errorMsg ); |
f@0 | 10 |
f@0 | 11 |
f@3 | 12 /** |
f@3 | 13 * Utility function to log info using the cinder::log library. |
f@3 | 14 * Errors are logged to the terminal. Used only for debugging. |
f@3 | 15 * |
f@3 | 16 */ |
f@3 | 17 void logInfo( const std::string &infoMsg ); |