Log: make LogLevel the first parameter
Prepare for templated functions.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user