MCPcopy Index your code
hub / github.com/vidstack/player / dispatch

Method dispatch

packages/vidstack/src/foundation/logger/controller.ts:55–65  ·  view source on GitHub ↗
(level: LogLevel, ...data: any[])

Source from the content-addressed store, hash-verified

53 }
54
55 dispatch(level: LogLevel, ...data: any[]): boolean {
56 return (
57 this._target?.dispatchEvent(
58 new DOMEvent<LogEventDetail>('vds-log', {
59 bubbles: true,
60 composed: true,
61 detail: { level, data },
62 }),
63 ) || false
64 );
65 }
66}

Callers 15

errorMethod · 0.95
warnMethod · 0.95
infoMethod · 0.95
debugMethod · 0.95
onConnectMethod · 0.45
destroyMethod · 0.45
_onDevEventMethod · 0.45
_onErrorMethod · 0.45
_onLoadStartMethod · 0.45
_onLoadedMethod · 0.45
_onLoadErrorMethod · 0.45
_onModeChangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected