Separate the logging
Openlecris wants to merge 6 commits from
Reference in new issue
There is no content yet.
Delete Branch 'lecris/matrix-puppeteer-line:logger'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Here's an initial wip for the logger so we can mitigate the spam.
Currently only wrote it forHad to add them all because too much spam :D. Haven't gone through all messages meticulously to figure out what type they should be, so please check them.
I've left it open so the log level can be changed at runtime, although this would only make sense if we can pipe in the log to matrix or something. At least it can be adjusted for individual users in the future.
Also maybe we can change the output so that some messages can be pipped to matrix chat
Separate the logging logicto Separate the logging 2 years ago
I've also seen in the examples that they use
chalkto color and format the log messages. Are you on board with using that?