/src/zeek/src/logging/writers/none/Plugin.cc
Line | Count | Source |
1 | | // See the file "COPYING" in the main distribution directory for copyright. |
2 | | |
3 | | #include "zeek/plugin/Plugin.h" |
4 | | |
5 | | #include "zeek/logging/writers/none/None.h" |
6 | | |
7 | | namespace zeek::plugin::detail::Zeek_NoneWriter { |
8 | | |
9 | | class Plugin : public zeek::plugin::Plugin { |
10 | | public: |
11 | 65 | zeek::plugin::Configuration Configure() override { |
12 | 65 | AddComponent(new zeek::logging::Component("None", zeek::logging::writer::detail::None::Instantiate)); |
13 | | |
14 | 65 | zeek::plugin::Configuration config; |
15 | 65 | config.name = "Zeek::NoneWriter"; |
16 | 65 | config.description = "None log writer (primarily for debugging)"; |
17 | 65 | return config; |
18 | 65 | } |
19 | | } plugin; |
20 | | |
21 | | } // namespace zeek::plugin::detail::Zeek_NoneWriter |