# Issue description *Describe your issue in detail here* Implement a proper logger to replace console.log & console.error # Definition Of Ready (DoR) *This issue can be worked on if* - [x] a developer is assigned - [x] the issue is labeled - [x] the issue is assigned to the current sprint - [x] the issue is estimated - [x] a meaningful title has been set - [x] the issue is described in detail
Activity
Claiyc commentedon May 12, 2023
Having something like this would also be quite useful to trace issues like the tesseract workers crashing
tonoizer commentedon May 13, 2023
We could build a simple logger ourself: https://adrianhall.github.io/cloud/2019/06/30/building-an-efficient-logger-in-typescript/
Or we maybe could use a library which will make things also easier: https://tslog.js.org/#/
Claiyc commentedon May 13, 2023
I'd go with a dedicaed library
tonoizer commentedon Jun 1, 2023
When creating a composable for it stick to the current conventions.
For example it could be named: useLogger/useLogger.ts
and should be structured like this then
tonoizer commentedon Jun 7, 2023
Maybe documenting somewhere where you can find the log file ?