/// <summary> /// Configure nancy pipeline /// </summary> /// <param name="pipelines"></param> public static void AddLogPipelines(this IPipelines pipelines, TinyIoCContainer container) { if (pipelines == null) { throw new ArgumentNullException(nameof(pipelines)); } if (container == null) { throw new ArgumentNullException(nameof(container)); } pipelines.AddStopwatchAndRequestKeyPipelines(); pipelines.AddHandlerExceptionsPipelines(container); pipelines.AddHandlerSuccessfulRequestsPipelines(container); }