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:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@jdbernard/logging",
|
"name": "@jdbernard/logging",
|
||||||
"version": "2.4.0",
|
"version": "2.5.0",
|
||||||
"description": "Simple Javascript logging service.",
|
"description": "Simple Javascript logging service.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user