コード例 #1
0
        public override void OnException(HttpActionExecutedContext context)
        {
            if (context == null)
            {
                return;
            }

            LoggaService.CreateLogFromApiException(context);
        }
コード例 #2
0
 void Application_Error(object sender, EventArgs e)
 {
     LoggaService.CreateLogFromContext(HttpContext.Current);
 }