mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-03 23:34:49 +00:00
LogManager: minor fix done.
This commit is contained in:
@@ -53,7 +53,10 @@ namespace DnsServerCore
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += delegate (object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
Write((Exception)e.ExceptionObject);
|
||||
lock (_logFileLock)
|
||||
{
|
||||
WriteLog(DateTime.UtcNow, e.ExceptionObject.ToString());
|
||||
}
|
||||
};
|
||||
|
||||
//log consumer thread
|
||||
|
||||
Reference in New Issue
Block a user