mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Added canary in canary logs
This commit is contained in:
parent
e47487902e
commit
75a4403cf1
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ using Ryujinx.Common.Logging.Formatters;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Net.Mime;
|
||||||
|
|
||||||
namespace Ryujinx.Common.Logging.Targets
|
namespace Ryujinx.Common.Logging.Targets
|
||||||
{
|
{
|
||||||
|
|
@ -69,9 +70,10 @@ namespace Ryujinx.Common.Logging.Targets
|
||||||
}
|
}
|
||||||
|
|
||||||
string version = ReleaseInformation.Version;
|
string version = ReleaseInformation.Version;
|
||||||
|
string appName = ReleaseInformation.IsCanaryBuild ? "Ryujinx Canary" : "Ryujinx";
|
||||||
|
|
||||||
// Get path for the current time
|
// Get path for the current time
|
||||||
path = Path.Combine(logDir.FullName, $"Ryujinx_{version}_{DateTime.Now:yyyy-MM-dd_HH-mm-ss}.log");
|
path = Path.Combine(logDir.FullName, $"{appName}_{version}_{DateTime.Now:yyyy-MM-dd_HH-mm-ss}.log");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue