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 expected Append calls. The default value is 32.
    • โž• Added a LogEventArgumentExhaustionStrategy option which controls what to do when too many Append 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 before Append 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.