0

log4net 中的ConsoleColoredConsole附加程序有什么区别?当然,除了能够为消息着色 :)

使用普通的 Console Appender 是否更安全?哪个附加程序更快?

在文档中:彩色控制台

它是为彩色写的: NOTE: This appender writes directly to the application's attached console not to the System.Console.Out or System.Console.Error TextWriter

但是对于控制台NOTE: This appender writes each message to the System.Console.Out or System.Console.Error

这对我作为用户来说是否意味着重要的事情?

4

1 回答 1

1

在阅读了两个附加程序ColoredConsoleAppenderConsoleAppender的文档后,我想说唯一的区别是输出着色的选项。

您可以在配置文件中配置输出,如文档中所示。

于 2013-08-22T09:58:54.860 回答