LogManager: added Write(Exception ex) method.

This commit is contained in:
Shreyas Zare
2018-09-30 00:20:15 +05:30
parent ce53ad08fc
commit fca051eaae

View File

@@ -137,6 +137,11 @@ namespace DnsServerCore
#region public
public void Write(Exception ex)
{
Write(null, ex.ToString());
}
public void Write(IPEndPoint ep, Exception ex)
{
Write(ep, ex.ToString());
@@ -242,4 +247,4 @@ namespace DnsServerCore
#endregion
}
}
}