Apache log4net 2.0.6 发布了。log4net 是一个可以帮助程序员把日志信息输出到各种不同目标的 .net 类库。
从 2.0.6 开始,.NET Core — 或更准确地说是 .NET Standard 1.3 — 已经成为一个支持的平台。请注意,使用 .NET Core 版本时,log4net 的几个功能不可用,特别是 .NET 标准的程序集不支持以下功能:
the ADO.NET appender
anything related to ASP.NET (trace appender and several pattern converters)
.NET Remoting
log4net.LogicalThreadContext and the associated properties and stack classes
the colored console appender
the event log appender
The NetSendAppender
The SMTP appender
DOMConfigurator
stack trace patterns
access to appSettings (neither the log4net section itself nor using the AppSettingsPatternConverter)
Access to "special paths" using the EnvironmentFolderPathPatternConverter
Impersonation of Windows accounts
更新内容
Bug 修复
[LOG4NET-508] - NAnt release build is not optimized
[LOG4NET-512] - Thread safety issue in Hierarchy.cs
[LOG4NET-527] - broken link on config-examples.html
[LOG4NET-529] - Possible thread-safety bug in LoggingEvent
[LOG4NET-536] - Can't build for NETCF-2.0
改进
[LOG4NET-530] - Use UTC internally to avoid ambiguous timestamps
新特性
[LOG4NET-467] - Is .NET Core, will be supported in the near future, or not
[LOG4NET-511] - API to flush appenders
[LOG4NET-526] - Add appSetting conversion pattern to PatternString
下载地址