1 /* 2 * Copyright 2006 Sony Computer Entertainment Inc. 3 * 4 * Licensed under the MIT Open Source License, for details please see license.txt or the website 5 * http://www.opensource.org/licenses/mit-license.php 6 * 7 */ 8 9 #include <modules/stdErrPlugin.h> 10 #include <stdio.h> 11 12 quietErrorHandler quietErrorHandler::theInstance; 13 stdErrPlugin()14stdErrPlugin::stdErrPlugin() { 15 } 16 ~stdErrPlugin()17stdErrPlugin::~stdErrPlugin() { 18 } 19 handleError(daeString msg)20void stdErrPlugin::handleError( daeString msg ) { 21 //fprintf( stderr, "Error: %s\n", msg ); 22 //fflush( stderr ); 23 printf( "Error: %s\n", msg ); 24 } 25 handleWarning(daeString msg)26void stdErrPlugin::handleWarning( daeString msg ) { 27 //fprintf( stderr, "Warning: %s\n", msg ); 28 //fflush( stderr ); 29 printf( "Warning: %s\n", msg ); 30 } 31