Skip to content

ml1nk/logasjson

Repository files navigation

LogAsJSON

NPM Version Downloads Build & Test

LogAsJSON is a small logging library and implements

  • Forking - Every module or even object can get a forked logger with addtional configuration.
  • Context - Easy to integrate with Async Local Storage and usage of trace ids.
  • JSON - Resolves cycles and supports errors and stack traces.
  • Override - Mechanism to change the log level for all forks at once.

The destinations to log to stdout/stderr and loki are bundled.

Installation

npm install logasjson

Basic Usage

TODO

Documentation

The documentation is build with TypeDoc and hosted on GitHub Pages at https://ml1nk.github.io/logasjson.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published