c4e864afa5
✨ Add support for nested fields in log entries and JSON marshalling
...
This commit introduces the ability to handle nested fields within log entries.
The file has been updated with a function
that transforms flat keys with a : delimiter (e.g., obj:foo) into nested
JSON objects (e.g., ).
The file includes new test cases to verify that:
- Nested fields are correctly unmarshalled from string representations.
- Nested fields are correctly marshalled into JSON objects.
This enhancement allows for more structured and organized metadata within log entries.
2026-02-10 16:13:39 -06:00
fbcec20221
🐛 Fix entry_test.go assertions for new id field
2026-02-10 15:43:23 -06:00
3b36055b1b
✨ Ensure an id is included when serializing a log entry
2026-02-05 13:11:28 -06:00
e9c01097a6
✨ Add Set method to Metas and tests
2026-02-01 18:18:46 -06:00
cccac79439
✨ Add Get method to Metas type
2026-02-01 11:29:04 -06:00
79fa957d02
✨ Some convenience methods for Metas
2024-03-11 16:04:29 -05:00
820a2de269
♻️ Get rid of PartialEntry
2024-03-10 15:26:00 -05:00
5b8e4696ea
✨ Only add newline to file when needed
2024-03-09 15:38:34 -06:00
286ac4557d
♻️ Add tools.WriteValue
2024-03-03 13:56:48 -06:00
c1b1ceb283
✨ Use ParseDate in Entry
2024-02-25 13:39:12 -06:00
391452e3d9
✨ ParseDate should handle DateFormat
2024-02-25 12:36:43 -06:00
cc9e8f6167
✨ Drop command
2024-02-11 13:50:27 -06:00
25f5c37243
✨ Parse config overrides on cli
2024-02-09 09:44:35 -06:00
85abc8cb34
✨ Unmarshal log
2024-02-03 18:52:12 -06:00
16a0a9d20b
✨ Special handling of json field
2024-01-30 23:40:47 -06:00
0da5efcafe
✨ Entry implements json.Unmarshaler
2024-01-29 22:07:18 -06:00
eff9a454f9
🧪 Test json.Unmarshaler implementation for Entry
2024-01-28 22:02:57 -06:00
f3bf89b09e
✨ Entry implements json.Marshaler
2024-01-28 19:41:30 -06:00
7e1c51d698
🧪 Test json.Marshaler implementation for Entry
2024-01-28 19:23:51 -06:00
c45acd57c4
✨ Entry implements TextUnmarshaler
2024-01-28 17:39:42 -06:00
2d68691408
♻️ Use defined errors
2024-01-28 12:41:55 -06:00
5b60305de7
🧪 Test TextUnmarshaler implementation for Entry
2024-01-28 08:56:34 -06:00
e8fb298ea5
✨ Entry with TextMarshaler
2024-01-28 01:13:25 -06:00
875ca7e33d
✨ Meta implements TextUnmarshaler
2024-01-27 16:07:27 -06:00
3cfb1ccedb
✨ Add Meta with TextMarshaler
2024-01-26 20:00:03 -06:00
c61c783c66
🚧 Lay out models
2024-01-26 19:40:38 -06:00