maragudk / goqite

Go queue library built on SQLite and inspired by AWS SQS.
https://maragudk.github.io/goqite/
MIT License
435 stars 13 forks source link

Add error logging support #47

Closed mikestefanello closed 5 months ago

mikestefanello commented 5 months ago

Hey - nice library, thanks for creating it! I maintain pagoda, a full-stack, web dev starter kit, and am considering bringing in goqite. It currently defaults to Postgres for storage and Redis for caching and task queues, but I'm working on potentially switching that out for SQLite which is how I came across this project.

This is a simple change to support logging errors as errors rather than info, which I thought was useful. I have a few other small ideas/tweaks, but I'll open separate PR/issues for.

markuswustenberg commented 5 months ago

Hi @mikestefanello , I'm glad you find this library useful. 😊 I'm not sure I want to introduce another log level here. Personally I don't use log levels at all. I'll think about it. (This is also a breaking change for clients.)