MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / extLogFactory

Function extLogFactory

src/back/extensions/ExtensionUtils.ts:57–61  ·  view source on GitHub ↗
(extManifest: IExtensionManifest, addLog: (entry: ILogEntry) => void, func: LogFunc)

Source from the content-addressed store, hash-verified

55 * @returns Function that logs an extensions message given just a message string
56 */
57export function extLogFactory(extManifest: IExtensionManifest, addLog: (entry: ILogEntry) => void, func: LogFunc): ExtensionLogFunc {
58 return (message: string) => {
59 addLog(newExtLog(extManifest, message, func));
60 };
61}

Callers

nothing calls this directly

Calls 2

addLogFunction · 0.85
newExtLogFunction · 0.85

Tested by

no test coverage detected