mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
25 lines
491 B
C++
25 lines
491 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
|
|
#include "plugin/Plugin.h"
|
|
|
|
#include "Ascii.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_AsciiWriter {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure()
|
|
{
|
|
AddComponent(new ::logging::Component("Ascii", ::logging::writer::Ascii::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::AsciiWriter";
|
|
config.description = "ASCII log writer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|