00001 // Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones 00002 // This file is part of the "cAudio Engine" 00003 // For conditions of distribution and use, see copyright notice in cAudio.h 00004 00005 #include "../Headers/cConsoleLogReceiver.h" 00006 #include <iostream> 00007 00008 namespace cAudio 00009 { 00010 bool cConsoleLogReceiver::OnLogMessage(const char* sender, const char* message, LogLevel level, float time) 00011 { 00012 //std::cout << time << " " << sender << ": [" << LogLevelStrings[level] << "] " << message << std::endl; 00013 std::cout << "[" << LogLevelStrings[level] << "] " << message << std::endl; 00014 return true; 00015 } 00016 }; 00017 00018
1.6.2