Home > vm-providers > createSubLogFunction
Creates a log function that, whenever it is called, calls the log function passed as the first paremeter with the predefined properties passed as the second parameter, (in addition to the properties it received it is called with).
Signature:
createSubLogFunction: (log: LogFunction | undefined, meta: Record<string, any>) => LogFunction