mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Better logger
1. Throw exception for fatal/error log when debugging 2. Write to debug output for warn/debug/info log when debugging 3. part of #355
This commit is contained in:
19
Wox.Infrastructure/Exception/WoxException.cs
Normal file
19
Wox.Infrastructure/Exception/WoxException.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Wox.Core.Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Base Wox Exceptions
|
||||
/// </summary>
|
||||
public class WoxException : System.Exception
|
||||
{
|
||||
public WoxException(string msg)
|
||||
: base(msg)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public WoxException(string msg, System.Exception innerException)
|
||||
: base(msg, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user