Rewrote the ErrorHandler class to a Logger class.
commit289c33608e96703328b832700f319b91d8900e12
authorTidusBlade <tidusblade@watermelonaddiction.melonarcade.com>
Tue, 24 Aug 2010 17:08:30 +0000 (24 21:08 +0400)
committerTidusBlade <tidusblade@watermelonaddiction.melonarcade.com>
Tue, 24 Aug 2010 17:08:30 +0000 (24 21:08 +0400)
treeaa611c3e802a72101bb0b28c463709d8b07c5e2f
parent1e9dc49899b2239928c7a0d4d84d30979d9d0154
Rewrote the ErrorHandler class to a Logger class.

It's now more generic and logs all sorts of errors to both cerr/stderr
and to a log file. Also added verbosity support but it's not being
implemented yet. Also, all classes that used the ErrorHandler class are
now using the Logger class, and the EventHandler no longer breathes.
13 files changed:
src/.todo
src/ErrorHandler.cpp [deleted file]
src/ErrorHandler.hpp [deleted file]
src/Logger.cpp [new file with mode: 0644]
src/Logger.hpp [new file with mode: 0644]
src/SDLWrap_Display.cpp
src/SDLWrap_Display.hpp
src/SDLWrap_Font.cpp
src/SDLWrap_Font.hpp
src/SDLWrap_SDLEngine.cpp
src/SDLWrap_SDLEngine.hpp
src/SDLWrap_Surface.cpp
src/SDLWrap_Surface.hpp