Back to Explore

open-draft/logger

GitHub
1 watchersOpen source

Last release: 4/14/2023

@open-draft/logger is an environment-agnostic, ESM-friendly logging utility with a simple API for browser and Node.js. It prints debug, info, success, warning, and error messages (disabled by default) and can be enabled via environment variables like DEBUG or LOG_LEVEL, with optional logger name filtering.

Project status

  • The most recent upstream activity for open-draft/logger is dated 2023-04-14, with the last recorded push and latest v0.3.0 update occurring then, suggesting it is not actively maintained at present.
  • The apparent update cadence is clustered, with multiple updates (v0.3.0, v0.2.2, v0.2.1) published within minutes-to-hours on 2023-04-14, and then no further updates after that date based on the provided history.

AI summary generated Today

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

Recent updates

  • v0.3.0

    4/14/2023

    v0.3.0 switches the build and package publishing model from separate node and browser bundles to a single neutral target bundle. The package entry points and conditional exports in package.json were simplified to point only at the root ./lib outputs.

    Features
  • v0.2.2

    4/14/2023

    Release v0.2.2 makes a small metadata update to the @open-draft/logger package. The only functional change in the diff is the repository URL in package.json, aligning it with the correct GitHub repository.

  • v0.2.1

    4/14/2023

    v0.2.1 is a small package.json-only change for @open-draft/logger. The release notes mention adding package.json to the package exports, but the actual change also restructures the exports field and adds a repository metadata block.

  • v0.2.0

    4/13/2023

    v0.2.0 adds automatic serialization of logger inputs so that non-string values can be written to stdout. The implementation also changes several TypeScript types and alters how both the main message and positional arguments are converted to strings.

    Features
  • v0.1.1

    4/12/2023

    Release v0.1.1 updates the package manifest and npm package contents. The primary change is ensuring the README and license files are included when published.

  • v0.1.0

    4/12/2023

    v0.1.0 introduces a basic logging system with filtering and scoped logging. It adds support for positional arguments in both Node.js and browser environments, along with utilities to measure performance and to route warnings and errors to stderr.

    Features