登录Eco.MVC.EcoController [英] Logging in Eco.MVC.EcoController

查看:114
本文介绍了登录Eco.MVC.EcoController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的MDriven MVC应用程序中,我正在将跟踪消息记录到日志文件中.似乎类Eco.MVC.EcoController使用Trace记录以下事件:

In my MDriven MVC application I'm logging Trace messages into a log file. It seems that the class Eco.MVC.EcoController uses the Trace to log following events:

EcoController.EnsureEcoSpace: HomeController
EcoController.EnsureEcoSpace: CreateEcoSpace
EcoController.ReleaseEcoSpace: Disposing EcoSpace
OnResultExecuted (EcoController out of scope).

是否可以关闭此登录?

推荐答案

糟糕-不,它们不是可选的.现在为此进行修复. 它们将默认关闭并通过以下方式打开:

Oops - no they were not optional. Checking in fix for this now. They will be default off and turned on with:

EcoTraceCategories.WebDebugPrint = true;

这篇关于登录Eco.MVC.EcoController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆