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

@ -10,7 +10,7 @@
#include "SmithWaterman.h"
#include "Var.h"
#include "util.h"
#include "Logger.h"
#include "Reporter.h"
BroSubstring::BroSubstring(const BroSubstring& bst)
: BroString((const BroString&) bst), _new(bst._new)
@ -186,7 +186,7 @@ bool BroSubstringCmp::operator()(const BroSubstring* bst1,
if ( _index >= bst1->GetNumAlignments() ||
_index >= bst2->GetNumAlignments() )
{
bro_logger->Warning("BroSubstringCmp::operator(): invalid index for input strings.\n");
reporter->Warning("BroSubstringCmp::operator(): invalid index for input strings.\n");
return false;
}