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

@ -4,9 +4,9 @@
#include "WriterBackend.h"
namespace logging {
ZEEK_FORWARD_DECLARE_NAMESPACED(Manager, zeek, logging);
class Manager;
namespace zeek::logging {
/**
* Bridge class between the logging::Manager and backend writer threads. The
@ -209,4 +209,8 @@ protected:
threading::Value*** write_buffer; // Buffer of size WRITER_BUFFER_SIZE.
};
} // namespace zeek::logging
namespace logging {
using WriterFrontend [[deprecated("Remove in v4.1. Use zeek::logging::WriterFrontend.")]] = zeek::logging::WriterFrontend;
}