Add file logging and handle unhandled exceptions (#558)
* add unhandled exception handler * added file logging * add option in config * consolidated console and file log
This commit is contained in:
parent
c1bdf19061
commit
c81abdde4c
6 changed files with 69 additions and 9 deletions
|
@ -16,6 +16,8 @@ namespace Ryujinx.Common.Logging
|
|||
|
||||
public static event EventHandler<LogEventArgs> Updated;
|
||||
|
||||
public static bool EnableFileLog { get; set; }
|
||||
|
||||
static Logger()
|
||||
{
|
||||
m_EnabledLevels = new bool[Enum.GetNames(typeof(LogLevel)).Length];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue