mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
logging: Add filter_name to WriterInfo
...with this change, it'll be possible to identify WriterFrontend's based on (stream, filter_name, path) pairs in addition to (stream, writer, path) pairs.
This commit is contained in:
parent
2c52e533b2
commit
f5d4526eac
3 changed files with 13 additions and 0 deletions
|
@ -238,6 +238,11 @@ public:
|
|||
*/
|
||||
const char* Name() const { return name; }
|
||||
|
||||
/**
|
||||
* Returns the name of the filter for which this frontend was instantiated.
|
||||
*/
|
||||
const std::string& GetFilterName() const { return info->filter_name; }
|
||||
|
||||
/**
|
||||
* Returns the log fields as passed into the constructor.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue