Open vanhocpham opened 5 years ago
You can use this commands api.setOptions({ logLevel: "silent" });
before logout to disable all logs. But... well, you can't see logout successfully log.
Thanks bro lequanglam Hongarc, I resolved use example code, it can check logout & also disable all logs
var stopListening = api.listen (async (err, event) => {
if (err || err !== null) {
console.error(err)
return stopListening()
}
} )
I wanna check when logout account facebook but api log error again, how to cancel log event listen notification error on console?
Thanks so & hope help me!