Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
Log4Net 是 FOSS 项目中使用的常见日志框架。
其他好的工具是使用企业库日志记录和全局异常处理(即使在生产环境中这也很有用。)
Log4Net is a common logging framework used in FOSS projects.
Other good tools are using Enterprise Library logging and global exception handling (this is useful even in production environments to have.)
我还推荐 Log4net。 您可以将其配置为将消息输出到日志文件、数据库等。如果您正在寻找一个好的查看器,您可以设置 UdpAppender,然后使用类似 Chainsaw 读取日志消息。 不过它是基于 Java 的,所以如果您确实想避免它,您也可以尝试 Log4net Viewer。
有关如何设置的更多信息和详细信息,请查看 将 Chainsaw 与 Log4net 结合使用。
I'd also recommend Log4net. You can configure it to output messages to log files, database, etc. If you're looking for a good viewer, you can set up the UdpAppender, and then use a tool like Chainsaw to read the log messages. It's Java based though, so if you really want to avoid it, you could also try Log4net Viewer.
For more information and details on how to set things up, check out Using Chainsaw with Log4net.
Visual Studio 测试版附带了您所讨论的很多内容。
您还可以考虑使用 RedGate 的 ANTS 来分析性能瓶颈。
如果价格是一个障碍,您可能会选择 log4net。
有几个用于 log4net 的解析器。
Visual Studio Test Edition comes with a lot of what you're talking about.
You could also look into using ANTS from RedGate to profile for performance bottlenecks.
If price is a barrier you'll probably want to go with log4net.
There are a couple parsers for log4net out there.
我还推荐 log4Net,您可以将其配置为使用多种输出类型,这样您就可以准确配置您喜欢的日志创建方式。
I would recommend log4Net aswell, you can configure it to use several output types, so you can exactly configure how you like your logs to be created.
您可能想看看我们的日志记录工具 SmartInspect,因为它带有相当强大的日志查看器,具有过滤功能等。 它还包括 ASP.NET 的示例项目。
You might want to take a look at our logging tool SmartInspect, as it comes with a quite powerful log viewer with filtering capabilities among other things. It also includes example projects for ASP.NET.