-update: replace depricated GetCurrentClassLogger with GetLogger<T>
This commit is contained in:
parent
3a6377fc3c
commit
86d7d3a709
|
@ -41,7 +41,7 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
|||
/// <param name="store">The <see cref="IWebDavStore" /> that the <see cref="WebDavServer" /> is hosting.</param>
|
||||
/// <exception cref="WebDAVSharp.Server.Exceptions.WebDavPreconditionFailedException"></exception>
|
||||
public void ProcessRequest(WebDavServer server, HttpContext context, IWebDavStore store, String fileName) {
|
||||
ILog log = LogManager.GetCurrentClassLogger();
|
||||
ILog log = LogManager.GetLogger<WebDavLockMethodHandler>();
|
||||
|
||||
/***************************************************************************************************
|
||||
* Retreive al the information from the request
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
|||
/// <param name="store">The <see cref="IWebDavStore" /> that the <see cref="WebDavServer" /> is hosting.</param>
|
||||
/// <exception cref="WebDAVSharp.Server.Exceptions.WebDavUnauthorizedException"></exception>
|
||||
public void ProcessRequest(WebDavServer server, HttpContext context, IWebDavStore store, String fileName) {
|
||||
_log = LogManager.GetCurrentClassLogger();
|
||||
_log = LogManager.GetLogger<WebDavPropfindMethodHandler>();
|
||||
|
||||
/***************************************************************************************************
|
||||
* Retreive all the information from the request
|
||||
|
@ -138,7 +138,7 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
|||
/// </returns>
|
||||
/// <exception cref="WebDAVSharp.Server.Exceptions.WebDavConflictException"></exception>
|
||||
private static List<IWebDavStoreItem> GetWebDavStoreItems(IWebDavStoreItem iWebDavStoreItem, int depth) {
|
||||
ILog _log = LogManager.GetCurrentClassLogger();
|
||||
ILog _log = LogManager.GetLogger<WebDavPropfindMethodHandler>();
|
||||
List<IWebDavStoreItem> list = new List<IWebDavStoreItem>();
|
||||
|
||||
//IWebDavStoreCollection
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
|||
/// objects to use.</param>
|
||||
/// <param name="store">The <see cref="IWebDavStore" /> that the <see cref="WebDavServer" /> is hosting.</param>
|
||||
public void ProcessRequest(WebDavServer server, HttpContext context, IWebDavStore store, String fileName) {
|
||||
ILog log = LogManager.GetCurrentClassLogger();
|
||||
ILog log = LogManager.GetLogger<WebDavProppatchMethodHandler>();
|
||||
|
||||
/***************************************************************************************************
|
||||
* Retreive al the information from the request
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace WebDAVSharp.Server.Stores.DiskStore {
|
|||
//Identity = new WindowsIdentity()
|
||||
Identity = WindowsIdentity.GetCurrent();
|
||||
|
||||
Log = LogManager.GetCurrentClassLogger();
|
||||
Log = LogManager.GetLogger<WebDavDiskStoreItem>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace WebDAVSharp.Server {
|
|||
methodHandler
|
||||
};
|
||||
_methodHandlers = handlersWithNames.ToDictionary(v => v.name, v => v.methodHandler);
|
||||
_log = LogManager.GetCurrentClassLogger();
|
||||
_log = LogManager.GetLogger<WebDavServer>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue