quercia-dev / Attimo

A listing app to self-track.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Implement logging of internal operations #19

Closed tebe-nigrelli closed 3 days ago

tebe-nigrelli commented 6 days ago

It is necessary to be able to trace the program's operations to attribute errors to specific patterns in use.

  1. Research GO logging strategy with the default library
  2. Implement error / operations logging to file, so errors can be traced.

Come up with a common policy for when and how to write log entries

tebe-nigrelli commented 5 days ago

Logging policy should be based on turning points in the internal program's operation

tebe-nigrelli commented 3 days ago

Reminder to add checks that the Logger structs are non-nil before logging, otherwise when running tests it will cause segfaults