chop-dbhi / sql-agent

HTTP interface for executing ad-hoc SQL queries.
BSD 2-Clause "Simplified" License
93 stars 23 forks source link

Add logging #15

Open bruth opened 6 years ago

bruth commented 6 years ago

Use Onelog with JSON output.

gracebrownecodes commented 6 years ago

Why onelog instead of zerolog?

bruth commented 6 years ago

Mainly to try it out, but either is fine. This is a small isolated project, so it is a good candidate to try it out (in the end I don't really care especially if someone else implements it). The functional approach to adding fields is interesting. Likewise the output are the same (both JSON) so changing between them would be transparent from the consumer standpoint if need be.