SIGN IN SIGN UP

fix(metric_logger): expose the logger buffer size in the factory builder (#3541)

* update metric loggers: expose buffer_size through metric logger factory

Signed-off-by: Sahel Sharifymoghaddam <ssharifymogh@nvidia.com>

* validate the passed buffer size at init

Signed-off-by: Sahel Sharifymoghaddam <ssharifymogh@nvidia.com>

* refactor(loggers): single DEFAULT_BUFFER_SIZE constant

The buffer_size default appeared literally in three signatures, so they could
drift apart. Reference one module-level constant instead. No behaviour change.

Signed-off-by: Sahel Sharifymoghaddam <ssharifymogh@nvidia.com>

---------

Signed-off-by: Sahel Sharifymoghaddam <ssharifymogh@nvidia.com>
S
Sahel Sharifymoghaddam committed
24d87118ba3e0423b4d252362448ddd8e5763786
Parent: f5e7163
Committed by GitHub <noreply@github.com> on 8/16/2026, 10:45:45 PM