OceanSlim on Nostr: Whew... Okay structured logging is implemented on grain. Now to refactor every ...
Whew... Okay structured logging is implemented on grain. Now to refactor every package to use it... But I wrote the whole thing with standard library. No 3rd party libraries. Was a bit more to code custom loglevel coloring, have the ability to set a component id on a package and make a function to handle the max log size with trimming, all without 3rd party libraries, but the code is right there and it's all mine.
#nostr #relay #dev
Published at
2025-03-21 21:12:58Event JSON
{
"id": "1bbdcc2bbabcfce753ecfbb21c83df03694232d709805c01a0e8892202cd3ec1",
"pubkey": "16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"created_at": 1742591578,
"kind": 1,
"tags": [
[
"t",
"nostr"
],
[
"t",
"relay"
],
[
"t",
"dev"
]
],
"content": "Whew... Okay structured logging is implemented on grain. Now to refactor every package to use it... But I wrote the whole thing with standard library. No 3rd party libraries. Was a bit more to code custom loglevel coloring, have the ability to set a component id on a package and make a function to handle the max log size with trimming, all without 3rd party libraries, but the code is right there and it's all mine. \n#nostr #relay #dev",
"sig": "9c477a6db55f69b6ce245f0c4cb31f5fe96f6712244e923a9d63f526a1eacaa9bc33f4555315cb83d9e94d114619a5faed36497ca0dcece2d8174502d14d48a0"
}