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

@ -15,7 +15,7 @@
#include "util.h"
#include "Dict.h"
#include "Logger.h"
#include "Reporter.h"
// Size limit for size wildcards.
#define PACKET_BIG 100
@ -105,19 +105,19 @@ protected:
void Error(const char* msg)
{
bro_logger->Error(msg);
reporter->Error(msg);
err = true;
}
void Error(const char* msg, int n)
{
bro_logger->Error(msg, n);
reporter->Error(msg, n);
err = true;
}
void Error(const char* msg, const char* s)
{
bro_logger->Error(msg, s);
reporter->Error(msg, s);
err = true;
}