This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Because of the chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1025893 | |
// Event data does not show up in the Chrome EventStream subtab in Network tab. | |
// So I created this log style to make it easy to analyze and view event data. | |
// It also doesn't make too much noise in the console panel. | |
const log_data = []; | |
const EventStreamTag = [ | |
`%cEventStream`, | |
'color: white;background:#C5C5C5;font-weight: bold; font-size:8px; padding:2px 6px; border-radius: 5px' |