mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
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:
parent
93894eed9b
commit
66e2c3b623
123 changed files with 722 additions and 713 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue