mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +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,9 +10,9 @@
|
|||
|
||||
namespace broker { class data; }
|
||||
|
||||
namespace logging {
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(WriterFrontend, zeek, logging);
|
||||
|
||||
class WriterFrontend;
|
||||
namespace zeek::logging {
|
||||
|
||||
/**
|
||||
* Base class for writer implementation. When the logging::Manager creates a
|
||||
|
@ -398,5 +398,8 @@ private:
|
|||
int rotation_counter; // Tracks FinishedRotation() calls.
|
||||
};
|
||||
|
||||
} // namespace zeek::logging
|
||||
|
||||
namespace logging {
|
||||
using WriterBackend [[deprecated("Remove in v4.1. Use zeek::logging::WriterBackend.")]] = zeek::logging::WriterBackend;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue