Add internal Config support (#5)
* Add internal Logging support Add class Logging. Replace all Console.WriteLine() to looks better. Add informations inside Windows Titles. * Revert "Add internal Logging support" This reverts commit 275d363aaf30011f238010572cfdb320bd7b627f. * Add internal Logging support Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles. * Add internal Logging support2 Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles. * Add internal Config support Add Config Class. Add Ryujinx.conf file (Ini file). Use the Config Class inside Logging. * Add internal Config support Add Config Class. Add Ryujinx.conf file (Ini file). Use the Config Class inside Logging.
This commit is contained in:
parent
aba75186e9
commit
5ecfb5c657
4 changed files with 83 additions and 7 deletions
|
@ -10,13 +10,13 @@ namespace Ryujinx
|
|||
private static Stopwatch ExecutionTime = new Stopwatch();
|
||||
private static string LogFileName = "Ryujinx.log";
|
||||
|
||||
public static bool EnableInfo = true;
|
||||
public static bool EnableTrace = true;
|
||||
public static bool EnableDebug = true;
|
||||
public static bool EnableWarn = true;
|
||||
public static bool EnableError = true;
|
||||
public static bool EnableFatal = true;
|
||||
public static bool EnableLogFile = false;
|
||||
public static bool EnableInfo = Config.LoggingEnableInfo;
|
||||
public static bool EnableTrace = Config.LoggingEnableTrace;
|
||||
public static bool EnableDebug = Config.LoggingEnableDebug;
|
||||
public static bool EnableWarn = Config.LoggingEnableWarn;
|
||||
public static bool EnableError = Config.LoggingEnableError;
|
||||
public static bool EnableFatal = Config.LoggingEnableFatal;
|
||||
public static bool EnableLogFile = Config.LoggingEnableLogFile;
|
||||
|
||||
static Logging()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue