0.2.8 • Published 6 months ago

@andyrmitchell/logging v0.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Why not use a regular logger

Two reasons: 1. This might be used in an environment where for security we want to own the whole stack (e.g. authorisation). 2. We don't want heavyweight enterprise solutions, but still want the value of distributed tracing.

Roadmap

Optimise package size

Work on the upstream @andyrmitchell/objects to make sure that importing @andyrmitchell/objects/where-filter will not import zod

At least not after being tree-shaken. Try compiling this with iife and tree-shaking.

Split out react into its own package (logging-ui-react)

Rethink the debugger

A lot of times it'll run in an environment without UI (e.g. service worker). Need to control from command line.

I imagine a flow to be like:

  • It's been set up in the service worker, and I can 'unpack' it to use it, e.g. with globalThis._begin (probably defined per app)
  • That exposes a common object that has addBreakpoint, removeBreakpoint (if none provided, it lists them and prompts you to choose), listBreakpoints in it
    • It probably has some kind of serialisation, or perma storage (key store), to handle refreshes
  • In the prettier UI I can be listing them, then adding them

## Integrate into AIB

What it benefits from:

  • Being able to just list errors
  • Being able to match any object

  • Put in a popup modal

  • Wrap the client side session to get traces
0.2.8

6 months ago

0.2.7

6 months ago

0.2.6

6 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.10

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago