MCPcopy
hub / github.com/authts/oidc-client-ts / log

Function log

samples/Parcel/src/user-manager/sample.js:29–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27///////////////////////////////
28
29function log() {
30 document.getElementById("out").innerText = "";
31
32 Array.prototype.forEach.call(arguments, function(msg) {
33 if (msg instanceof Error) {
34 msg = "Error: " + msg.message;
35 }
36 else if (typeof msg !== "string") {
37 msg = JSON.stringify(msg, null, 2);
38 }
39 document.getElementById("out").innerHTML += msg + "\r\n";
40 });
41}
42
43const mgr = new UserManager(settings);
44

Callers 15

sample-callback.jsFile · 0.90
sample-silent.jsFile · 0.90
sample.jsFile · 0.70
clearStateFunction · 0.70
getUserFunction · 0.70
removeUserFunction · 0.70
startSigninMainWindowFunction · 0.70
endSigninMainWindowFunction · 0.70
popupSigninFunction · 0.70
popupSignoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected