mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: some PluginLog => Log in dalamud code
This commit is contained in:
parent
daa9f72218
commit
a7c2dc6720
2 changed files with 4 additions and 3 deletions
|
|
@ -517,7 +517,7 @@ internal class DalamudInterface : IDisposable, IServiceType
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
PluginLog.Error(ex, "Error during OnDraw");
|
Log.Error(ex, "Error during OnDraw");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -877,7 +877,7 @@ internal class DalamudInterface : IDisposable, IServiceType
|
||||||
foreach (var plugin in pluginManager.InstalledPlugins)
|
foreach (var plugin in pluginManager.InstalledPlugins)
|
||||||
{
|
{
|
||||||
// TODO: some more here, state maybe?
|
// TODO: some more here, state maybe?
|
||||||
PluginLog.Information($"{plugin.Name}");
|
Log.Information($"{plugin.Name}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ using Dalamud.Game;
|
||||||
using Dalamud.Hooking;
|
using Dalamud.Hooking;
|
||||||
using Dalamud.Logging;
|
using Dalamud.Logging;
|
||||||
using Dalamud.Utility.Signatures.Wrappers;
|
using Dalamud.Utility.Signatures.Wrappers;
|
||||||
|
using Serilog;
|
||||||
|
|
||||||
namespace Dalamud.Utility.Signatures;
|
namespace Dalamud.Utility.Signatures;
|
||||||
|
|
||||||
|
|
@ -151,7 +152,7 @@ public static class SignatureHelper
|
||||||
var ctor = actualType.GetConstructor(new[] { typeof(IntPtr), hookDelegateType });
|
var ctor = actualType.GetConstructor(new[] { typeof(IntPtr), hookDelegateType });
|
||||||
if (ctor == null)
|
if (ctor == null)
|
||||||
{
|
{
|
||||||
PluginLog.Error("Error in SignatureHelper: could not find Hook constructor");
|
Log.Error("Error in SignatureHelper: could not find Hook constructor");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue