mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08: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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue