aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/Logging/ringlogger.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 22:53:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 22:53:42 +0100
commite0bc5e12b330acea73812ebfee6da94ba99077f2 (patch)
tree0d86e4bdd3a85b87d7103d1a8edd43e9d96208a0 /WireGuard/Shared/Logging/ringlogger.h
parentFix tunnel remaining in 'Activating' state (diff)
downloadwireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.tar.xz
wireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.zip
Simplify logging tags
This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/Shared/Logging/ringlogger.h')
-rw-r--r--WireGuard/Shared/Logging/ringlogger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/Shared/Logging/ringlogger.h b/WireGuard/Shared/Logging/ringlogger.h
index ad58fb8..ca097b2 100644
--- a/WireGuard/Shared/Logging/ringlogger.h
+++ b/WireGuard/Shared/Logging/ringlogger.h
@@ -8,7 +8,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 struct log *log1, const char *tag1, const struct log *log2, const char *tag2);
struct log *open_log(const char *file_name);
void close_log(struct log *log);