mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-11 10:18:52 +02:00
20 lines
514 B
C#
20 lines
514 B
C#
|
using Ryujinx.Horizon.Common;
|
|||
|
using Ryujinx.Horizon.Sdk.Lm;
|
|||
|
using Ryujinx.Horizon.Sdk.Sf;
|
|||
|
|
|||
|
namespace Ryujinx.Horizon.LogManager
|
|||
|
{
|
|||
|
partial class LmLog : IServiceObject
|
|||
|
{
|
|||
|
public LogDestination LogDestination { get; set; } = LogDestination.TargetManager;
|
|||
|
|
|||
|
[CmifCommand(0)]
|
|||
|
public Result OpenLogger(out LmLogger logger, [ClientProcessId] ulong clientProcessId)
|
|||
|
{
|
|||
|
logger = new LmLogger(this, clientProcessId);
|
|||
|
|
|||
|
return Result.Success;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|