zeek/src/logging/writers/sqlite/Plugin.cc
2021-09-16 15:35:39 -07:00

25 lines
634 B
C++

// See the file in the main distribution directory for copyright.
#include "zeek/plugin/Plugin.h"
#include "zeek/logging/writers/sqlite/SQLite.h"
namespace zeek::plugin::detail::Zeek_SQLiteWriter
{
class Plugin : public zeek::plugin::Plugin
{
public:
zeek::plugin::Configuration Configure() override
{
AddComponent(new zeek::logging::Component(
"SQLite", zeek::logging::writer::detail::SQLite::Instantiate));
zeek::plugin::Configuration config;
config.name = "Zeek::SQLiteWriter";
config.description = "SQLite log writer";
return config;
}
} plugin;
} // namespace zeek::plugin::detail::Zeek_SQLiteWriter