Make sure logs are visible.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-08-04 22:47:50 +02:00
parent 2ae7984629
commit 660d5918ff
1 changed files with 1 additions and 1 deletions

View File

@ -111,5 +111,5 @@ static ssize_t do_write(const void *ctx, const unsigned char *buf, size_t len)
static void do_log(int level, const char *tag, const char *msg)
{
// TODO Get some details on the log level and distribute to matching log levels.
os_log([WireGuardGoWrapper log], "Log level %d for %s: %s", level, tag, msg);
os_log([WireGuardGoWrapper log], "Log level %d for %{public}s: %{public}s", level, tag, msg);
}