Separate the logging #27
Loading…
Reference in New Issue
No description provided.
Delete Branch "lecris/matrix-puppeteer-line:logger"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.puppet.js
.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 loggingI've also seen in the examples that they use
chalk
to color and format the log messages. Are you on board with using that?Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.