mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:07:22 +01:00
major refactoring, maybe some bugfixes, idk
This commit is contained in:
parent
0fe3f1cf25
commit
2dcd02d170
22 changed files with 997 additions and 949 deletions
14
MareSynchronos/Utils/Logger.cs
Normal file
14
MareSynchronos/Utils/Logger.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.Diagnostics;
|
||||
using Dalamud.Logging;
|
||||
|
||||
namespace MareSynchronos.Utils
|
||||
{
|
||||
internal class Logger
|
||||
{
|
||||
public static void Debug(string debug)
|
||||
{
|
||||
var caller = new StackTrace().GetFrame(1)?.GetMethod()?.ReflectedType?.Name ?? "Unknown";
|
||||
PluginLog.Debug($"[{caller}] {debug}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue