chore: some PluginLog => Log in dalamud code

This commit is contained in:
goat 2023-05-21 23:33:41 +02:00
parent daa9f72218
commit a7c2dc6720
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 4 additions and 3 deletions

View file

@ -517,7 +517,7 @@ internal class DalamudInterface : IDisposable, IServiceType
}
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)
{
// TODO: some more here, state maybe?
PluginLog.Information($"{plugin.Name}");
Log.Information($"{plugin.Name}");
}
}

View file

@ -7,6 +7,7 @@ using Dalamud.Game;
using Dalamud.Hooking;
using Dalamud.Logging;
using Dalamud.Utility.Signatures.Wrappers;
using Serilog;
namespace Dalamud.Utility.Signatures;
@ -151,7 +152,7 @@ public static class SignatureHelper
var ctor = actualType.GetConstructor(new[] { typeof(IntPtr), hookDelegateType });
if (ctor == null)
{
PluginLog.Error("Error in SignatureHelper: could not find Hook constructor");
Log.Error("Error in SignatureHelper: could not find Hook constructor");
continue;
}