Alex on Nostr: I released a JSON logging "framework" for TypeScript called Logi: ...
I released a JSON logging "framework" for TypeScript called Logi:
https://jsr.io/@soapbox/logi Thousands of hours have been wasted on bloated JSON logging frameworks in JavaScript. Yet this is all that's needed. You just define the type of your logs, and then wrap `console.log` with the type.
Published at
2025-01-28 03:39:21Event JSON
{
"id": "e5adf16fcdc3f349f453f4cf0290d4bb51bb6494ce7709fa0d5aaf1ebac03bd9",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1738035561,
"kind": 1,
"tags": [
[
"q",
"ba35ae0b2eff9c1a9305eb123b991bf5b5b4cb76494d25a42ca166e6228b43fb",
"wss://gleasonator.dev/relay",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
],
[
"p",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"wss://gleasonator.dev/relay"
],
[
"r",
"https://jsr.io/@soapbox/logi"
]
],
"content": "I released a JSON logging \"framework\" for TypeScript called Logi: https://jsr.io/@soapbox/logi\n\nnostr:nevent1qvzqqqqqqypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqydhwumn8ghj7emvv4shxmmwv96x7u3wv3jhvtmjv4kxz7gqyzarttst9mlecx5nqh43ywuer06mtdxtwey56fdy9jskde3z3dplkwk6xdy",
"sig": "10596c808bf65769cd0ee8b6a8c8b7385366fe26122e34f703d783fa525165ebfd33d77e02be466d32a7f9ad65dbd022ce6293c716341f4c769613842c89fce9"
}