mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -204,7 +204,7 @@ bool DbgBreakpoint::Reset()
|
|||
break;
|
||||
}
|
||||
|
||||
bro_logger->InternalError("DbgBreakpoint::Reset function incomplete.");
|
||||
reporter->InternalError("DbgBreakpoint::Reset function incomplete.");
|
||||
|
||||
// Cannot be reached.
|
||||
return false;
|
||||
|
@ -295,7 +295,7 @@ BreakCode DbgBreakpoint::ShouldBreak(Stmt* s)
|
|||
assert(false);
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("Invalid breakpoint type in DbgBreakpoint::ShouldBreak");
|
||||
reporter->InternalError("Invalid breakpoint type in DbgBreakpoint::ShouldBreak");
|
||||
}
|
||||
|
||||
// If we got here, that means that the breakpoint could hit,
|
||||
|
@ -312,7 +312,7 @@ BreakCode DbgBreakpoint::ShouldBreak(Stmt* s)
|
|||
BreakCode DbgBreakpoint::ShouldBreak(double t)
|
||||
{
|
||||
if ( kind != BP_TIME )
|
||||
bro_logger->InternalError("Calling ShouldBreak(time) on a non-time breakpoint");
|
||||
reporter->InternalError("Calling ShouldBreak(time) on a non-time breakpoint");
|
||||
|
||||
if ( t < at_time )
|
||||
return bcNoHit;
|
||||
|
@ -353,6 +353,6 @@ void DbgBreakpoint::PrintHitMsg()
|
|||
assert(false);
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("Missed a case in DbgBreakpoint::PrintHitMsg\n");
|
||||
reporter->InternalError("Missed a case in DbgBreakpoint::PrintHitMsg\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue