Replies: 2 comments 1 reply
-
|
I do agree for the need of cleaner logging framework, I was about to add this. However I was currently trying to stick to a "zero-dependency" philosophy.
Obviously, the main tradeoff is more code to write and maintain... I am still planning on spending some time to get rid of the two current dependencies. if possible (but they are kind of hard to rewrite...). A logging system doesn't seem to take much more than 100 lines of code, so not sure that it is worth linking to an external library for this. Basic features of a logging system should be:
Anything else? Maybe worth creating a specific workstream to implement the logging system and discuss features / libraries. |
Beta Was this translation helpful? Give feedback.
-
|
Here is a PR adding a logger: #73 It is only 65 lines of code :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
should we move from the console.log logs right now to "debug" lib?
Would have the benefit that loggign has time and timings and that we can structure logs by different sections of the flow. And it is not there by default but easy to enable.
Beta Was this translation helpful? Give feedback.
All reactions