News for hackers. Stuff that matters.
Re:Nanolog supports logging with 7 ns median latency by fra on Friday August 23, 2024 @09:24AM (#41328808)
This is a common technique in embedded software. A few other examples:

1. Thrice (already mentioned in the comments) https://github.com/rokath/trice

2. Pigweed's Tokenizer (from Google) https://pigweed.dev/pw_tokenizer/

3. Memfault's Compact Logs https://docs.memfault.com/docs/mcu/compact-logs

4. Defmt by Ferrous Systems https://defmt.ferrous-systems.com/

Re:Nanolog supports logging with 7 ns median latency by frizlab on Friday August 23, 2024 @09:32AM (#41328860)
Re:Nanolog supports logging with 7 ns median latency by enigmo on Friday August 23, 2024 @10:49AM (#41329488)
Re:Nanolog supports logging with 7 ns median latency by lokar on Friday August 23, 2024 @01:24PM (#41330965)
The google logging library also defers formatting
Re:Nanolog supports logging with 7 ns median latency by odygrd on Monday August 26, 2024 @12:59PM (#41359189)
7. https://github.com/odygrd/quill

More modern than nanolog and also type safe supporting any type