mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Move logging code to zeek namespaces
This commit is contained in:
parent
9a800265ff
commit
45b5c6e619
25 changed files with 135 additions and 114 deletions
|
@ -10,18 +10,18 @@
|
|||
#include "Desc.h"
|
||||
#include "zlib.h"
|
||||
|
||||
namespace plugin::Zeek_AsciiWriter { class Plugin; }
|
||||
namespace zeek::plugin::Zeek_AsciiWriter { class Plugin; }
|
||||
|
||||
namespace logging { namespace writer {
|
||||
namespace zeek::logging::writer::detail {
|
||||
|
||||
class Ascii : public WriterBackend {
|
||||
class Ascii : public zeek::logging::WriterBackend {
|
||||
public:
|
||||
explicit Ascii(WriterFrontend* frontend);
|
||||
explicit Ascii(zeek::logging::WriterFrontend* frontend);
|
||||
~Ascii() override;
|
||||
|
||||
static std::string LogExt();
|
||||
|
||||
static WriterBackend* Instantiate(WriterFrontend* frontend)
|
||||
static zeek::logging::WriterBackend* Instantiate(zeek::logging::WriterFrontend* frontend)
|
||||
{ return new Ascii(frontend); }
|
||||
|
||||
protected:
|
||||
|
@ -79,5 +79,4 @@ private:
|
|||
bool init_options;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace zeek::logging::writer::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue