public WebServer() { #region Logging MethodBase method = MethodBase.GetCurrentMethod(); MethodName = method.Name; #endregion configurations = WebApiServerConfigurationManager.Instance.Configurations; WebApiLogger = LoggingFactory.CreateLogger(configurations.LogPath, "web-api.log", configurations.LogLevel); }
public CustomMiddleware(OwinMiddleware next) : base(next) { configuration = WebApiServerConfigurationManager.Instance.Configurations; //Logger.Instance.Log.Verbose("CustomMiddleware", "CustomMiddleware", "Instantiated"); }