mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-09 16:56:27 +02:00
add option to enable debug logs
This commit is contained in:
parent
c0a2cc5f6c
commit
c8d6f786c5
2 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@ namespace LibRyujinx
|
|||
return res;
|
||||
}
|
||||
|
||||
public static bool Initialize(string? basePath)
|
||||
public static bool Initialize(string? basePath, bool enableDebugLogs = false)
|
||||
{
|
||||
if (SwitchDevice != null)
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ namespace LibRyujinx
|
|||
|
||||
SwitchDevice = new SwitchDevice();
|
||||
|
||||
Logger.SetEnable(LogLevel.Debug, false);
|
||||
Logger.SetEnable(LogLevel.Debug, enableDebugLogs);
|
||||
Logger.SetEnable(LogLevel.Stub, false);
|
||||
Logger.SetEnable(LogLevel.Info, true);
|
||||
Logger.SetEnable(LogLevel.Warning, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue