mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue