Remove IPluginLog#Logger for now (#1428)

- Causes issues with mocking.
This commit is contained in:
KazWolfe 2023-09-23 19:58:21 -07:00 committed by GitHub
parent f96ab7aa90
commit 34c05adeb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,15 +20,6 @@ public interface IPluginLog
/// </remarks>
LogEventLevel MinimumLogLevel { get; set; }
/// <summary>
/// Gets an instance of the Serilog <see cref="ILogger"/> for advanced use cases. The provided logger will handle
/// tagging all log messages with the appropriate context variables and properties.
/// </summary>
/// <remarks>
/// Not currently part of public API - will be added after some formatter work has been completed.
/// </remarks>
internal ILogger Logger { get; }
/// <summary>
/// Log a <see cref="LogEventLevel.Fatal" /> message to the Dalamud log for this plugin. This log level should be
/// used primarily for unrecoverable errors or critical faults in a plugin.