ZeroLog v1.3.0 Release Notes
Release Date: 2018-12-05 // over 5 years ago-
- ๐ Fixed silent allocations which could occur when more than 10
Append
calls were issued. - โ Added a
LogEventArgumentCapacity
option which sets the max count of expectedAppend
calls. The default value is 32. - โ Added a
LogEventArgumentExhaustionStrategy
option which controls what to do when too manyAppend
calls are issued. Messages can either be truncated (default behavior) or cause allocations. - โ Added a global
TruncatedMessageSuffix
option which controls the suffix which will be appended to a truncated message. Default value:" [TRUNCATED]"
. - ๐จ Refactored configuration options. There is a breaking change in a public interface that should have remained internal and is not expected to be implemented outside of ZeroLog, hence only the minor version is increased.
- ๐ Fixed an access violation that could occur if a logger is used after a call to
LogManager.Shutdown
. Note that this could still happen if a log event is acquired before the shutdown and is retained for more than 100ms beforeAppend
is called, but this is incorrect ZeroLog usage and is not expected. Log events acquired after the shutdown are safe. - ๐ Fixed an error that caused ZeroLog to shutdown when a message longer than 16KB was logged. Such messages will either be truncated or cause an error to be logged.
- ๐ Fixed silent allocations which could occur when more than 10