Renaming the Logger to Reporter.

Also changing output to not include timestamps when we haven't started
processing packets yet.
This commit is contained in:
Robin Sommer 2011-07-01 09:22:33 -07:00
parent 93894eed9b
commit 66e2c3b623
123 changed files with 722 additions and 713 deletions

View file

@ -18,7 +18,7 @@
#include "IP.h"
#include "Timer.h"
#include "IOSource.h"
#include "Logger.h"
#include "Reporter.h"
class SerializationCache;
class SerialInfo;
@ -263,7 +263,7 @@ public:
virtual ~CloneSerializer() { }
protected:
virtual void ReportError(const char* msg) { bro_logger->Error(msg); }
virtual void ReportError(const char* msg) { reporter->Error(msg); }
virtual void GotID(ID* id, Val* val) { }
virtual void GotEvent(const char* name, double time,
EventHandlerPtr event, val_list* args) { }