aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Horizon/LogManager/LmLog.cs
blob: 772465c4598ecf491f711c59f83bc38fb2bdd845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
        }
    }
}