mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28: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
|
@ -383,7 +383,7 @@ bool NameExpr::DoUnserialize(UnserialInfo* info)
|
|||
if ( id )
|
||||
::Ref(id);
|
||||
else
|
||||
bro_logger->Warning("unserialized unknown global name");
|
||||
reporter->Warning("unserialized unknown global name");
|
||||
|
||||
delete [] name;
|
||||
}
|
||||
|
@ -5623,7 +5623,7 @@ int same_expr(const Expr* e1, const Expr* e2)
|
|||
}
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("bad tag in same_expr()");
|
||||
reporter->InternalError("bad tag in same_expr()");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -5643,7 +5643,7 @@ static Expr* make_constant(BroType* t, double d)
|
|||
case TYPE_INTERNAL_DOUBLE: v = new Val(double(d), t->Tag()); break;
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("bad type in make_constant()");
|
||||
reporter->InternalError("bad type in make_constant()");
|
||||
}
|
||||
|
||||
return new ConstExpr(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue