npm install pan-opt
import Panopticon from "pan-opt";
Panopticon.init(dsn) // dsn: your dsn issued from panopticon.gq
import Panopticon from "pan-opt";
// Set user information, as well as tags and further extras
Panopticon.setTag('custom', 'Tag');
Panopticon.setTag('foo', 'bar');
Panopticon.setUser('Warden');
// Capture exceptions, send manual errors
try {
throw new Error("Maybe I'll be caught by try-catch");
} catch (err) {
Panopticon.send(err);
}