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

Function newExtLog

src/back/extensions/ExtensionUtils.ts:41–43  ·  view source on GitHub ↗
(extManifest: IExtensionManifest, message: string, func: LogFunc)

Source from the content-addressed store, hash-verified

39 * @returns Complete Log Entry
40 */
41export function newExtLog(extManifest: IExtensionManifest, message: string, func: LogFunc): ILogEntry {
42 return func('Extensions', `[${extManifest.displayName || extManifest.name}] ${message}`);
43}
44
45export function internalNewExtLog(name: string, message: string, func: LogFunc): ILogEntry {
46 return func('Extensions', `[${name}] ${message}`);

Callers 3

_loadExtensionMethod · 0.90
createApiFactoryFunction · 0.90
extLogFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected