Make sure logs are visible.

This commit is contained in:
Jeroen Leenarts 2018-08-04 22:47:50 +02:00
parent a4db2d4f3e
commit 9829d55f01
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);
}