mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: log tweaks
- also fix a boot failure
This commit is contained in:
parent
71927a8bf6
commit
01d8fc0c7e
5 changed files with 8 additions and 8 deletions
|
|
@ -88,7 +88,7 @@ internal class RpcHostService : IServiceType, IInternalDisposableService
|
|||
var transport = new UnixRpcTransport(this.registry);
|
||||
this.transports.Add(transport);
|
||||
transport.Start();
|
||||
this.log.Information("RpcHostService started Unix socket host: {Socket}", transport.SocketPath);
|
||||
this.log.Information("RpcHostService listening to UNIX socket: {Socket}", transport.SocketPath);
|
||||
}
|
||||
|
||||
private void StartPipeTransport()
|
||||
|
|
@ -100,6 +100,6 @@ internal class RpcHostService : IServiceType, IInternalDisposableService
|
|||
var transport = new PipeRpcTransport(this.registry);
|
||||
this.transports.Add(transport);
|
||||
transport.Start();
|
||||
this.log.Information("RpcHostService started named pipe host: {Pipe}", transport.PipeName);
|
||||
this.log.Information("RpcHostService listening to named pipe: {Pipe}", transport.PipeName);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Dalamud.Networking.Rpc.Transport;
|
|||
/// </summary>
|
||||
internal class PipeRpcTransport : IRpcTransport
|
||||
{
|
||||
private readonly ModuleLog log = new("RPC/Host");
|
||||
private readonly ModuleLog log = new("RPC/Transport/NamedPipe");
|
||||
|
||||
private readonly RpcServiceRegistry registry;
|
||||
private readonly CancellationTokenSource cts = new();
|
||||
|
|
@ -107,7 +107,6 @@ internal class PipeRpcTransport : IRpcTransport
|
|||
|
||||
private async Task AcceptLoopAsync()
|
||||
{
|
||||
this.log.Information("PipeRpcHost starting on pipe {Pipe}", this.PipeName);
|
||||
var token = this.cts.Token;
|
||||
var security = this.BuildPipeSecurity();
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ namespace Dalamud.Networking.Rpc.Transport;
|
|||
/// </summary>
|
||||
internal class UnixRpcTransport : IRpcTransport
|
||||
{
|
||||
private readonly ModuleLog log = new("RPC/UnixHost");
|
||||
private readonly ModuleLog log = new("RPC/Transport/UnixSocket");
|
||||
|
||||
private readonly RpcServiceRegistry registry;
|
||||
private readonly CancellationTokenSource cts = new();
|
||||
|
|
@ -173,7 +173,6 @@ internal class UnixRpcTransport : IRpcTransport
|
|||
|
||||
private async Task AcceptLoopAsync()
|
||||
{
|
||||
this.log.Information("UnixRpcHost starting on socket {Socket}", this.SocketPath);
|
||||
var token = this.cts.Token;
|
||||
|
||||
try
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
using Dalamud.Plugin.Services;
|
||||
|
||||
namespace Dalamud.Plugin.SelfTest;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -44,7 +46,7 @@ namespace Dalamud.Plugin.SelfTest;
|
|||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
public interface ISelfTestRegistry
|
||||
public interface ISelfTestRegistry : IDalamudService
|
||||
{
|
||||
/// <summary>
|
||||
/// Registers the self-test steps for this plugin.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Dalamud.Plugin.Services;
|
|||
/// <c>dalamud://plugin/{PLUGIN_INTERNAL_NAME}/...</c> namespace.
|
||||
/// </summary>
|
||||
[Experimental("DAL_RPC", Message = "This service will be finalized around 7.41 and may change before then.")]
|
||||
public interface IPluginLinkHandler
|
||||
public interface IPluginLinkHandler : IDalamudService
|
||||
{
|
||||
/// <summary>
|
||||
/// A delegate containing the received URI.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue