mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
New functions Log::disable_stream() and Log::enable_stream().
When disabled, all outout to a stream will be ignored (but no error raised).
This commit is contained in:
parent
88d114053c
commit
4b7c5905f1
6 changed files with 96 additions and 4 deletions
|
@ -67,6 +67,8 @@ public:
|
|||
// These correspond to the BiFs visible on the scripting layer. The
|
||||
// actual BiFs just forward here.
|
||||
bool CreateStream(EnumVal* id, RecordVal* stream);
|
||||
bool EnableStream(EnumVal* id);
|
||||
bool DisableStream(EnumVal* id);
|
||||
bool AddFilter(EnumVal* id, RecordVal* filter);
|
||||
bool RemoveFilter(EnumVal* id, StringVal* name);
|
||||
bool RemoveFilter(EnumVal* id, string name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue