So I would like to log some simple website/web application hits in a web app, log page, time, user name when someone accesses the app.
This older thread here suggested doing:
console<SPAN class="punctuation token">.</SPAN><SPAN class="token function">log</SPAN><SPAN class="punctuation token">(</SPAN>IdentityManager<SPAN class="punctuation token">.</SPAN>credentials<SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">.</SPAN>userId<SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">//returns <user@domain></SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>