why must all of this be async

This commit is contained in:
Stanley Dimant
2022-07-10 16:44:45 +02:00
parent a81d3b0d76
commit 7dccd7b341
9 changed files with 22 additions and 11 deletions

View File

@@ -29,7 +29,11 @@ namespace MareSynchronos.Utils
public static void Verbose(string verbose)
{
var caller = new StackTrace().GetFrame(1)?.GetMethod()?.ReflectedType?.Name ?? "Unknown";
#if DEBUG
PluginLog.Debug($"[{caller}] {verbose}");
#else
PluginLog.Verbose($"[{caller}] {verbose}");
#endif
}
}
}