mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move all of the base plugin classes into the zeek::plugin namespace
This commit is contained in:
parent
cbdb8ee074
commit
e77e8c4b7b
28 changed files with 404 additions and 240 deletions
|
@ -45,7 +45,7 @@ enum DebugStream {
|
|||
|
||||
#define PLUGIN_DBG_LOG(plugin, args...) debug_logger.Log(plugin, args)
|
||||
|
||||
namespace plugin { class Plugin; }
|
||||
namespace zeek::plugin { class Plugin; }
|
||||
|
||||
class DebugLogger {
|
||||
public:
|
||||
|
@ -56,7 +56,7 @@ public:
|
|||
void OpenDebugLog(const char* filename = 0);
|
||||
|
||||
void Log(DebugStream stream, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
void Log(const plugin::Plugin& plugin, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
void Log(const zeek::plugin::Plugin& plugin, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
|
||||
void PushIndent(DebugStream stream)
|
||||
{ ++streams[int(stream)].indent; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue