No description
Find a file
Rodney, Tiara 23c56e8d1c
chore: add override for jest
jest has a deprecated dependency, this override fixes that
2025-04-26 01:01:45 +02:00
docs chore: rename docs source directory 2025-04-25 18:49:41 +02:00
scripts chore: remove redundant script 2025-04-25 18:44:19 +02:00
src refactor(src): introduce submodules 2025-04-25 23:02:53 +02:00
tests test(log_level): refactor 2025-04-25 23:03:01 +02:00
.gitignore chore: make tests work 2025-04-25 19:19:40 +02:00
bitbucket-pipelines.yml style(ci): add commands for removing test-reports 2025-04-25 19:48:11 +02:00
configure refactor: change autoconf script to be more verbose 2025-04-25 18:04:23 +02:00
configure.ac refactor: change autoconf script to be more verbose 2025-04-25 18:04:23 +02:00
CONTRIBUTING.md feat(init): publishing 2025-04-25 16:17:37 +02:00
jest.config.mjs chore: make tests work 2025-04-25 19:19:40 +02:00
LICENSE refactor: update build environment 2025-04-25 18:43:19 +02:00
Makefile feat(make): introduce build flags 2025-04-25 19:32:14 +02:00
package-lock.json chore: add override for jest 2025-04-26 01:01:45 +02:00
package.json chore: add override for jest 2025-04-26 01:01:45 +02:00
README.md doc(README): init rudimentary README 2025-04-25 20:59:49 +02:00
tsconfig.debug.json chore: redefine tsc config 2025-04-25 17:50:00 +02:00
tsconfig.json chore: redefine tsc config 2025-04-25 17:50:00 +02:00
tsconfig.node.json feat(init): publishing 2025-04-25 16:17:37 +02:00
typedoc.json feat: initialize tests, docs and refactor 2025-04-25 16:17:46 +02:00

esm-logging

This README is a stub. Working on it. Currently stabilizing the build environment after that I'll make it nice around here.

A quasi-port of the Python standard library logging module to ECMAScript.

Why?

First of, because logging is important. It is important for debugging purposes, leading to faster and more resilient development, for traceability leading to better security. Most logging libraries I've discovered didn't satisfy me, introduced weird concepts and all in all just weren't great. Other programming language ecosystems offer way nicer logging facilities. Take Rust for example, or... Python! Python has PEP, giving it a very structured approach towards implementing new features and that's also how its logging facilities came to be (PEP 282). Python's logging facilities are implemented by the logging module, which is part of the standard library and has been since 2002. It was originally authored by Vinay Sajip

Roadmap

  • do a quasi-port of the logging module with minimal amount of adaption
  • add documentation
  • add support for asynchronous calls
  • implement Open Cybersecurity Framework (OCSF) formatter
  • implement (Browser) local storage handler as a replacement for file handler

Usage

For the time being, please check out my CI service, for an idea on how to build this.