Function
extLogFactory
(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 | */ |
| 57 | export 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
Tested by
no test coverage detected