diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-13 18:00:29 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-13 18:00:32 +0530 |
commit | e199ed0d6c1ee89ff39c83193e945bfce5892777 (patch) | |
tree | 55a95cb47d2c6f2ef293da4ccb6fddbd0e12d543 /WireGuard/Shared/Logging/ringlogger.h | |
parent | Logging: Use ringlogger for logging from the app (diff) | |
download | wireguard-apple-e199ed0d6c1ee89ff39c83193e945bfce5892777.tar.xz wireguard-apple-e199ed0d6c1ee89ff39c83193e945bfce5892777.zip |
Logging: Tag the entries in the merged log
So we know which entry is from the app and which is from the network
extension.
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/Shared/Logging/ringlogger.h')
-rw-r--r-- | WireGuard/Shared/Logging/ringlogger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/Shared/Logging/ringlogger.h b/WireGuard/Shared/Logging/ringlogger.h index a8d07c0..be1d33c 100644 --- a/WireGuard/Shared/Logging/ringlogger.h +++ b/WireGuard/Shared/Logging/ringlogger.h @@ -24,7 +24,7 @@ struct log { }; void write_msg_to_log(struct log *log, const char *msg); -int write_logs_to_file(const char *file_name, const struct log *log1, const struct log *log2); +int write_logs_to_file(const char *file_name, const char *tag1, const struct log *log1, const char *tag2, const struct log *log2); struct log *open_log(const char *file_name); #endif |