mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Adding a few options to the ASCII writer.
module LogAscii; export { # Output everything to stdout rather than into files. This is primarily # for testing purposes. const output_to_stdout = F &redef; # The separator between fields. const separator = "\t" &redef; # True to include a header line with column names. const include_header = T &redef; }
This commit is contained in:
parent
26eab74ecc
commit
c6d20dbfdf
9 changed files with 101 additions and 19 deletions
|
@ -3,7 +3,9 @@
|
|||
//
|
||||
// Note than classes derived from LogWriter must be fully thread-safe and not
|
||||
// use any non-safe Bro functionality (which is almost all ...). In
|
||||
// particular, do not use fmt() but LogWriter::Fmt()!.
|
||||
// particular, do not use fmt() but LogWriter::Fmt()!. The one exception is
|
||||
// the constructor: that is guaranteed to be executed inside the main thread
|
||||
// and it can thus access in particular global script variables.
|
||||
|
||||
#ifndef LOGWRITER_H
|
||||
#define LOGWRITER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue