JSPM

  • Created
  • Published
  • Downloads 2250
  • Score
    100M100P100Q110636F
  • License Apache-2.0

Types & basis infrastructure for arbitrary logging (w/ default impls)

Package Exports

  • @thi.ng/logger
  • @thi.ng/logger/api
  • @thi.ng/logger/console
  • @thi.ng/logger/null

Readme

logger

npm version npm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Types & basis infrastructure for arbitrary logging (w/ default impls).

Status

STABLE - used in production

Search or submit any issues for this package

Installation

yarn add @thi.ng/logger

ES module import:

<script type="module" src="https://cdn.skypack.dev/@thi.ng/logger"></script>

Skypack documentation

For Node.js REPL:

# with flag only for < v16
node --experimental-repl-await

> const logger = await import("@thi.ng/logger");

Package sizes (gzipped, pre-treeshake): ESM: 361 bytes

Dependencies

None

API

Generated API docs

TODO

Authors

Karsten Schmidt

If this project contributes to an academic publication, please cite it as:

@misc{thing-logger,
  title = "@thi.ng/logger",
  author = "Karsten Schmidt",
  note = "https://thi.ng/logger",
  year = 2016
}

License

© 2016 - 2022 Karsten Schmidt // Apache Software License 2.0