-
-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend logging to whole project #772
Comments
Then, |
Can i fix this issue @turt2live |
Fine from my site :-) |
@jkasun Feel free to work on this if you'd like to! |
Okay im on it |
Some spec files also have |
Might as well include spec files as well, if possible. If it's hard to do for some reason, then you could leave them out for now. |
@jkasun Do you have something for me to look at? |
@Ryuno-Ki I change all the console.log to logger method in spec file and source files. But I kept example files and debuglog as it is for now, should we change them also? Here is a file from example and sample code of debug log. Here is files that is using Here is a sample of debug log and should we change them to logger also, Sample 01
Sample 02
for now I just kept them as they were is it okay to change that to the logger also? Those examples are from |
Hi @Ryuno-Ki, can you help me with this? |
I would suggest asking in #riot-dev:matrix.org if you need help. @Ryuno-Ki does not work on Riot full time, so I think you may get a faster answer in a room where many people can see you question. |
@jryans I already did. No one is replying |
Ah okay. Unfortunately, the core team is quite busy at the moment, so that could explain it. |
I tried to scan your question above... I'd say leave the examples alone. For |
Not full-time? |
Can we try to use an environment variable? If it runs in the process the value (debug on/off) might be stored in matrix-js-sdk/src/timeline-window.js Line 250 in 6a5f5b2
Is it possible to use template strings here? matrix-js-sdk/src/timeline-window.js Line 474 in 6a5f5b2
You aren't adding the
I believe this one isn't needed to be logged by default. The other matrix-js-sdk/examples/node/app.js Line 4 in 6a5f5b2
@kegsay I hope you recreated a new token by now... matrix-js-sdk/examples/node/app.js Line 396 in 6a5f5b2
Maybe allow a loglevel as well. Then |
@Ryuno-Ki : This was an example access token, not a real one :) thanks though. |
After #763 was merged, let's extend it to the rest of the code base, so we can get rid of
console.log
statements.The text was updated successfully, but these errors were encountered: