Log: make LogLevel the first parameter

Prepare for templated functions.
This commit is contained in:
Max Kellermann
2019-05-22 18:38:25 +02:00
parent e5f23678ca
commit 36e6079c57
9 changed files with 29 additions and 29 deletions

View File

@@ -25,7 +25,7 @@
#include <stdio.h>
void
Log(const Domain &domain, gcc_unused LogLevel level, const char *msg) noexcept
Log(LogLevel, const Domain &domain, const char *msg) noexcept
{
fprintf(stderr, "[%s] %s\n", domain.GetName(), msg);
}