Display warning messages if fails to parse sr report (#2543)

This commit is contained in:
Igor Octaviano authored and GitHub committed 2021-09-13 15:06:30 +02:00
1 parent ad2f038817
commit f2a371fc2d
5 files changed
+132 -3

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import PubSub from './PubSub';
/** Log Events */
export const LogEvents = Object.freeze({
OnLog: 'onLog',
});
/**
* Log manager that implements pub/sub.
* This manager can be used to send logs across different packages
* using previously registered events.
*/
class LogManager extends PubSub {
EVENTS = LogEvents;
}
/** Singleton */
export default new LogManager();