Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Embedded Loggin #120
Embedded Loggin #120
Comments
|
Hmm - could you use wildcard listeners? let emitter = mitt();
// log all events to console:
emitter.on('*', (type, ...args) => {
console.info(`event(${type}): `, ...args);
}); |
Hello guys,
Are there any plans to have any kind of embedded logging (to console) for development mode? We are switching from Vue emitter to mitt in preparation to Vue 3 (where it is deprecated) and struggling a bit as vue devtool is not able track mitt events.