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