changelog.txt
来自「SharpDevelop2.0.0 c#开发免费工具」· 文本 代码 · 共 1,932 行 · 第 1/5 页
TXT
1,932 行
Added new rolling style 'Once' which rolls the file only when the appender
is configured.
2004-11-17 21:50 nicko
* ObjectRenderer/DefaultRenderer.cs:
Removed explicit support for rendering Exceptions. Exception.ToString gives
better results.
Added support for rendering collections and dictionaries.
2004-11-15 20:40 nicko
* Util/WindowsSecurityContext.cs:
Added support for reverting to the Process credentials
* Util/PatternConverter.cs:
Made the SPACES array private
2004-11-15 02:52 nicko
* log4net.csproj:
Added SecurityContext files to solution
* Config/SecurityContextProviderAttribute.cs:
Added SecurityContextProviderAttribute for specifying the
SecurityContextProvider type in an assembly attribute
* Config/ConfiguratorAttribute.cs,
Config/XmlConfiguratorAttribute.cs,
Core/DefaultRepositorySelector.cs:
Added support for priority ordered loading of ConfiguratorAttributes
2004-11-12 22:33 nicko
* Appender/AdoNetAppender.cs, Appender/EventLogAppender.cs,
Appender/FileAppender.cs, Appender/NetSendAppender.cs,
Appender/RollingFileAppender.cs, Core/SecurityContext.cs,
Core/SecurityContextProvider.cs, Util/NullSecurityContext.cs,
Util/WindowsSecurityContext.cs:
Added initial SecurityContext classes
* Core/LoggingEvent.cs, Layout/PatternLayout.cs:
Renamed LoggingEvent.EventProperties to LoggingEvent.Properties. This is in
line with the other properties layers and is also backwardly compatible as
that is what it used to be called. If the properties have been cached then
the combined properties are returned, otherwise just the event properties
are returned.
2004-10-31 22:35 nicko
* ILog.cs, Core/LogImpl.cs:
Americanised spelling in doc comment
* AssemblyVersionInfo.cpp, AssemblyVersionInfo.cs,
AssemblyVersionInfo.js, AssemblyVersionInfo.vb:
Added AssemblyInformationalVersionAttribute
* ILog.cs, Core/Level.cs, Core/LevelMap.cs, Core/LogImpl.cs,
Layout/SimpleLayout.cs, Layout/XMLLayout.cs,
Layout/XmlLayoutSchemaLog4j.cs,
Layout/Pattern/LevelPatternConverter.cs,
Repository/ILoggerRepository.cs,
Repository/LoggerRepositorySkeleton.cs,
Repository/Hierarchy/Hierarchy.cs,
Repository/Hierarchy/LoggerKey.cs,
Repository/Hierarchy/XmlHierarchyConfigurator.cs:
Update to allow Level configuration to be redefined in the repository
LevelMap. This is now the authority on levels and the Level.Debug etc.
values are just the default values.
Levels now have a display name which can be configured to alias or localize
levels in the output.
The LogImpl looks up the level values to use from the LevelMap and listens
for configuration changes.
2004-10-01 22:24 nicko
* Core/LocationInfo.cs:
Added more checks for null in LocationInfo constructor
* Config/PluginAttribute.cs, Core/CompactRepositorySelector.cs,
Core/DefaultRepositorySelector.cs,
Repository/Hierarchy/XmlHierarchyConfigurator.cs,
Util/OptionConverter.cs, Util/PatternParser.cs,
Util/TypeConverters/ConverterRegistry.cs:
Replaced all type.GetConstructor().Invoke() with EmptyTypes with
Activator.CreateInstance
* Repository/: ILoggerRepository.cs, LoggerRepositorySkeleton.cs,
Hierarchy/Hierarchy.cs:
Added GetAppenders method call to ILoggerRepository
* Appender/RemoteSyslogAppender.cs, ObjectRenderer/RendererMap.cs,
Util/PatternStringConverters/RandomStringPatternConverter.cs:
Added missing CultureInfo to method calls
2004-09-29 23:02 nicko
* ILog.cs, Core/LogImpl.cs:
Added DebugFormat, InfoFormat, WarnFormat, ErrorFormat and FatalFormat
methods to ILog interface. These methods use String.Format style format
strings.
2004-09-27 00:21 nicko
* LogicalThreadContext.cs, ThreadContext.cs, log4net.csproj,
Core/LoggingEvent.cs, Util/ContextPropertiesBase.cs,
Util/GlobalContextProperties.cs,
Util/LogicalThreadContextProperties.cs,
Util/ThreadContextLists.cs, Util/ThreadContextProperties.cs,
Util/ThreadContextStacks.cs,
Util/PatternStringConverters/PropertyPatternConverter.cs:
Added LogicalThreadContext based on ideas by Ian Kundil.
The LogicalThreadContext stores properties in the
System.Runtime.Remoting.Messaging.CallContext which allows them to flow
across thread boundaries as a call is marshalled. This does not support
flowing across a Remoting boundary.
Reduced the times when a PropertiesDictionary is created just to support
reading.
2004-09-26 23:41 nicko
* Appender/RollingFileAppender.cs:
Updated doc comments. I have not been able to confirm the stuff on win32
file locking and sharing modes
* Appender/BufferingForwardingAppender.cs,
Appender/ForwardingAppender.cs, Core/IAppenderAttachable.cs,
Repository/Hierarchy/Logger.cs, Util/AppenderAttachedImpl.cs:
Amended the IAppenderAttachable interface to make the behaviour regarding
closing the appenders more explicit. Updated the RemoveAppender methods to
return the appender removed.
2004-09-26 19:06 nicko
* log4net.csproj, Appender/AnsiColorTerminalAppender.cs:
Added AnsiColorTerminalAppender contributed by Patrick Wagstrom.
This appender uses ANSI Color escape sequences to colorize log messages.
Different foreground and background colors as well as attributes like
Bright and Underline can be specified for different levels.
2004-09-19 20:50 nicko
* log4net.csproj, Layout/PatternLayout.cs,
Layout/Pattern/ExceptionPatternConverter.cs,
Layout/Pattern/PatternLayoutConverter.cs:
Added ExceptionPatternConverter. Updated PatternLayout to check converters
for IgnoresException.
* Layout/LayoutSkeleton.cs:
Updated doc comments
2004-09-19 18:52 nicko
* Core/ILogger.cs, Core/LocationInfo.cs, Core/LogImpl.cs,
Core/LoggingEvent.cs, Repository/Hierarchy/Logger.cs:
Replaced fullNameOfLoggerClass string with callerStackBoundaryDeclaringType.
This allows us to perform a more accurate and more performant lookup of the
caller location information for a logging event. It also fixes an issue with
looking up the location information when using an extension.
2004-09-18 17:34 nicko
* Appender/: FileAppender.cs, RollingFileAppender.cs,
TextWriterAppender.cs:
Added Doug de la Torre's updates to make the FileAppender and
RollingFileAppender more robust. The TextWriterAppender.PrepareWriter method
is called for each message logged if the Writer has not been set.
FileAppender uses PrepareWriter to attempt to open the file for each message
rather than just once at configuration. Once the file has been opened a
write lock is held. RollingFileAppender moves files before deleting them as
this reduces the number of situations where a file cannot be rolled.
* Appender/RemoteSyslogAppender.cs:
Fixed englishisation in doc comments
2004-09-18 15:34 nicko
* Appender/LocalSyslogAppender.cs:
Not supported on NETCF and SSCLI
* log4net.csproj:
Added syslog appender files
2004-09-14 22:00 nicko
* Appender/: LocalSyslogAppender.cs, RemoteSyslogAppender.cs:
Added LocalSyslogAppender and RemoteSyslogAppender based on Rob Lyon's
contribution.
LocalSyslogAppender uses libc calls to write to the local syslog service.
RemoteSyslogAppender uses UDP port 514 to send messages to a remote syslogd.
2004-09-13 08:53 nicko
* Util/PatternString.cs:
Added support for adding new pattern converters during configuration
* Layout/PatternLayout.cs:
Added comments and null arg checks
2004-09-13 08:05 nicko
* ObjectRenderer/DefaultRenderer.cs:
Added check for null return from obj.ToString()
* Repository/Hierarchy/Logger.cs:
Perf fix to Logger. Added test before AcquireReaderLock
* Util/OnlyOnceErrorHandler.cs:
Updated OnlyOnceErrorHandler to continue logging if InternalDebug is enabled
* Util/CountingQuietTextWriter.cs:
Added check for null or zero length string
2004-09-11 21:47 nicko
* log4net.csproj:
Added new files
* Util/LevelMapping.cs:
Fixed for NETCF
2004-09-10 21:58 nicko
* Appender/ColoredConsoleAppender.cs, Appender/EventLogAppender.cs,
Util/LevelMapping.cs, Util/LevelMappingEntry.cs:
Added LevelMapping helper to simplify writing appender configurable level
mappings, e.g. the Level to Color mapping of the ColoredConsoleAppender.
Updated the ColoredConsoleAppender and EventLogAppender to use the
LevelMapping.
2004-09-10 20:40 nicko
* Layout/: ExceptionLayout.cs, LayoutSkeleton.cs, PatternLayout.cs,
SimpleLayout.cs, XMLLayoutBase.cs:
Made LayoutSkeleton.IgnoresException a settable property. The user can now
force a layout to ignore the exception in the event.
2004-09-10 19:54 nicko
* Repository/Hierarchy/XmlHierarchyConfigurator.cs,
Util/OptionConverter.cs:
Removed OptionConverter.ConvertSpecialChars. This was used to parse C
style string escaped chars. XML has a different but well defined and
understood char escaping scheme which is preferred for XML data. This
means that backslashes will no longer need to be escaped.
2004-09-10 10:16 nicko
* log4net.csproj:
Added new files to project
* NDC.cs, Config/XmlConfigurator.cs:
Fixed NETCF build errors
2004-09-09 22:53 nicko
* MDC.cs, NDC.cs, ThreadContext.cs, Appender/EventLogAppender.cs,
Appender/RemotingAppender.cs, Appender/SmtpAppender.cs,
Appender/SmtpPickupDirAppender.cs, Appender/UdpAppender.cs,
Core/IFixingRequired.cs, Core/LoggingEvent.cs,
Filter/MdcFilter.cs, Filter/NdcFilter.cs,
Filter/PropertyFilter.cs, Layout/PatternLayout.cs,
Layout/RawPropertyLayout.cs, Layout/XMLLayout.cs,
Layout/XmlLayoutSchemaLog4j.cs,
Layout/Pattern/GlobalPropertyPatternConverter.cs,
Layout/Pattern/MdcPatternConverter.cs,
Layout/Pattern/NdcPatternConverter.cs,
Layout/Pattern/PropertyPatternConverter.cs,
Util/CompositeProperties.cs, Util/PatternString.cs,
Util/ThreadContextList.cs, Util/ThreadContextLists.cs,
Util/ThreadContextProperties.cs, Util/ThreadContextStack.cs,
Util/ThreadContextStacks.cs,
Util/PatternStringConverters/PropertyPatternConverter.cs:
Added ThreadContext.
The ThreadContext.Properties is a replacement for the MDC. The
ThreadContext.Stacks is a replacement for the NDC.
The ThreadContext.Stacks and ThreadContext.Lists are stored in the
ThreadContext.Properties.
The MDC and NDC forward to the new implementation where possible.
The contexts are composed into layers; GlobalContext.Properties are
overridden by ThreadContext.Properties and they are overridden by
LoggingEvent.EventProperties.
Changed filters and layouts to lookup properties from the LoggingEvent.
2004-09-09 21:37 nicko
* Config/XmlConfigurator.cs:
Improved doc comments. Added more detail to missing config section error
message
* GlobalContext.cs:
Added the hostname to the GlobalContext.Properties
2004-09-09 20:03 nicko
* ObjectRenderer/DefaultRenderer.cs:
Fix for error when reading the Exception.Source property that may occur if
it is an unmanaged exception. Reported by Brent Matzelle.
* ObjectRenderer/RendererMap.cs:
Added simple FindAndRender() method that writes to a StringWriter and then
returns the string
* Util/: GlobalContextProperties.cs, PatternConverter.cs:
Minor code naming changes and doc comments
* Repository/Hierarchy/XmlHierarchyConfigurator.cs:
Added support for using a TypeConverter to convert from the explicitly
specified type to the actual required property type
2004-08-23 01:07 nicko
* Util/SystemInfo.cs:
Process.StartTime not supported on NETCF or SSCLI
2004-08-22 20:26 nicko
* Core/LoggingEvent.cs:
Fixed LoggingEvent.GetObjectData() to add missing GlobalProperties value
2004-08-19 23:30 nicko
* Layout/: XmlLayoutSchemaLog4j.cs,
Pattern/RelativeTimePatternConverter.cs:
Fixed DateTime handling, convert to UTC before any math operations
involving 2 DateTimes.
* Core/LoggingEvent.cs:
Changed to use SystemInfo.ProcessStartTime property. Updated doc comments
* Util/PatternStringConverters/DatePatternConverter.cs,
Layout/Pattern/DatePatternConverter.cs:
minor change to doc comment
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?