WriteLog() public static méthode

public static WriteLog ( string loggerName, string loggerMethodName, string controllerName, string actionName ) : void
loggerName string
loggerMethodName string
controllerName string
actionName string
Résultat void
Exemple #1
0
        public override void OnActionExecuting(
            HttpActionContext actionContext)
        {
            var controllerCtx = actionContext.ControllerContext;

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