Move logging code to zeek namespaces

This commit is contained in:
Tim Wojtulewicz 2020-08-01 10:48:05 -07:00
parent 9a800265ff
commit 45b5c6e619
25 changed files with 135 additions and 114 deletions

View file

@ -5,7 +5,7 @@
#include "../Desc.h"
#include "../util.h"
using namespace logging;
namespace zeek::logging {
Component::Component(const std::string& name, factory_callback arg_factory)
: zeek::plugin::Component(zeek::plugin::component::WRITER, name)
@ -28,3 +28,5 @@ void Component::DoDescribe(zeek::ODesc* d) const
d->Add("Log::WRITER_");
d->Add(CanonicalName());
}
} // namespace zeek::logging