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 14 stdErrPlugin::stdErrPlugin() { 15 } 16 17 stdErrPlugin::~stdErrPlugin() { 18 } 19 20 void stdErrPlugin::handleError( daeString msg ) { 21 //fprintf( stderr, "Error: %s\n", msg ); 22 //fflush( stderr ); 23 printf( "Error: %s\n", msg ); 24 } 25 26 void stdErrPlugin::handleWarning( daeString msg ) { 27 //fprintf( stderr, "Warning: %s\n", msg ); 28 //fflush( stderr ); 29 printf( "Warning: %s\n", msg ); 30 } 31