registrar

Files related to my duties as Registrar of Agora Nomic
git clone git://juanmeleiro.mat.br/registrar
Log | Files | Refs | README

log-custom-format.txt (501B)


      1 # Custom format for the log
      2 
      3 Design and implement a custom format for the log. Maybe something
      4 like this:
      5 
      6 ```
      7 <timestamp> <action> <arguments>
      8 ```
      9 
     10 For example:
     11 
     12 ```
     13 1696883312	register	Some Player	email@example.com	message://some-long-uuid.message
     14 ```
     15 
     16 Note the use of tabs. This would avoid the problem where the Lua library
     17 that deals with JSON just scrambles it up each and every time. That, and
     18 it also avoids adding new dependencies (e.g., `jq` for pretty-printing
     19 and sorting the JSON files).