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

@ -9,7 +9,7 @@
#endif
#include "Dict.h"
#include "Logger.h"
#include "Reporter.h"
// If the mean bucket length exceeds the following then Insert() will
// increase the size of the hash table.
@ -475,7 +475,7 @@ void Dictionary::StartChangeSize(int new_size)
return;
if ( tbl2 )
bro_logger->InternalError("Dictionary::StartChangeSize() tbl2 not NULL");
reporter->InternalError("Dictionary::StartChangeSize() tbl2 not NULL");
Init2(new_size);
@ -522,7 +522,7 @@ void Dictionary::FinishChangeSize()
{
// Cheap safety check.
if ( num_entries != 0 )
bro_logger->InternalError(
reporter->InternalError(
"Dictionary::FinishChangeSize: num_entries is %d\n",
num_entries);