mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00

- Moved the Notice::notice event and Notice::policy table to both be hooks. - Renamed the old Notice::policy to Notice::policy_table and documented it as deprecated.
14 lines
260 B
Text
14 lines
260 B
Text
|
|
@load ./main
|
|
|
|
module GLOBAL;
|
|
|
|
## This is the entry point in the global namespace for notice framework.
|
|
function NOTICE(n: Notice::Info)
|
|
{
|
|
# Suppress this notice if necessary.
|
|
if ( Notice::is_being_suppressed(n) )
|
|
return;
|
|
|
|
Notice::internal_NOTICE(n);
|
|
}
|