Make logging class/method easily accessible and importable throughout entire code base.
Keep logging functionality external to the code that it is logging. Ie: detach logger from CoreService class and move to project root.
Bind logging to Prisma/Sqlite db using Prisma methods and the errLog / eventLog models. Set logging type/level in db record for later filtering and client UI.
Completed logging as much as currently able. Will need to later implement DB write logging and be selective about it. File logging is all we have currently.
CoreService
class and move to project root.errLog
/eventLog
models. Set logging type/level in db record for later filtering and client UI.