Version 2.5.0 -- breaking change to BufferLogAppender's public constract.

BufferLogAppender now accepts threshold and optional size bounds via its
constructor, replaces bufferMax with the size target/max API, defaults
to bounded buffering, and may reassign its buffer during trim/clear
operations.

Also adds batched buffer trimming for high-throughput logging, a clamp
utility for bounds normalization, and expanded tests for buffer sizing,
trimming behavior, and clamp semantics.
This commit is contained in:
2026-05-07 07:30:23 -05:00
parent bf96303bf9
commit b5b905cabe
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@jdbernard/logging",
"version": "2.4.0",
"version": "2.5.0",
"description": "Simple Javascript logging service.",
"main": "dist/index.js",
"types": "dist/index.d.ts",