WriteLog() публичный статический Метод

public static WriteLog ( string loggerName, string loggerMethodName, string controllerName, string actionName ) : void
loggerName string
loggerMethodName string
controllerName string
actionName string
Результат void
Пример #1
0
        public override void OnActionExecuting(
            HttpActionContext actionContext)
        {
            var controllerCtx = actionContext.ControllerContext;

            LoggerUtil.WriteLog(
                _loggerName,
                "OnActionExecuting",
                controllerCtx.ControllerDescriptor.ControllerName,
                actionContext.ActionDescriptor.ActionName
                );
        }