Back to Explore

jsumners/abstract-logging

GitHub
1 watchersOpen source

Last release:

abstract-logging is a Node.js no-operation logger interface for libraries, intended for use by other modules that supply an external logger compatible with a Log4j-style interface. It exposes common log methods (fatal, error, warn, info, debug, trace) that do nothing by default, useful for safely wiring logging calls without requiring a real logger.

Project status

  • The repository appears quiet and likely in maintenance mode, with the last upstream push on 2020-10-17, which is over five years ago relative to today (2026-08-12).
  • Updates are infrequent, with v2.0.1 on 2020-10-17 and a prior major update v2.0.0 dated 2019-11-13, suggesting no ongoing cadence beyond those releases.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.0.1

    v2.0.1 updates documentation to clarify how to handle loggers that implement a `child()` method, with an example for stubbing. It also extends the test suite with a couple of assertions around the existence and type/prototype behavior of the `info` method.

  • v2.0.0

    v2.0.0 changes how the logger module instance is created when you import it. Instead of requiring a special pattern to obtain a unique logger instance, each require call now returns a unique instance.

    BreakingFeatures