nus-cs2103-AY2425S1 / forum

12 stars 0 forks source link

How to use logging for week 10 #557

Closed Feng1231 closed 4 days ago

Feng1231 commented 5 days ago

Our team has used logging in our methods for week 10. An example of logger usage is:

logger.finer("Name keywords are empty or contain an empty string: " + names);

However, our logging tag in the individual progress tab in the course website remains unlit. image

May I check how do we actually light it up?

damithc commented 5 days ago

@Feng1231 This is an individual item. So, we check the lines of code in the tP code dashboard to see if you have used logging in your code.

BTW, yours seems to be 'done' now.

Feng1231 commented 4 days ago

It is indeed done now. My group members and I merged the PRs two nights before, and it wasn't reflected the next morning, even though the dashboard says last updated @ around 7am that morning. Hence the confusion. Sorry and thank you prof!

damithc commented 4 days ago

@Feng1231 Items related to individual code can take a bit longer to get reflected in the tP progress dashboard, as they first need to get detected in the tP code dashboard. So, in some case, it can take two update cycles.