mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Remove references to line numbers in tutorial text
Removed line numbers in the text because it was difficult to keep these up-to-date. Changed some wording and moved sample scripts before (rather than after) the descriptive text in order to keep it easy to understand.
This commit is contained in:
parent
5d7b3f850b
commit
084bf498d8
6 changed files with 131 additions and 94 deletions
|
@ -1,8 +1,10 @@
|
|||
module Factor;
|
||||
|
||||
export {
|
||||
# Append the value LOG to the Log::ID enumerable.
|
||||
redef enum Log::ID += { LOG };
|
||||
|
||||
# Define a new type called Factor::Info.
|
||||
type Info: record {
|
||||
num: count &log;
|
||||
factorial_num: count &log;
|
||||
|
@ -20,6 +22,7 @@ function factorial(n: count): count
|
|||
|
||||
event bro_init()
|
||||
{
|
||||
# Create the logging stream.
|
||||
Log::create_stream(LOG, [$columns=Info]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue