registerMetaDataSource MethodStatic

Beta  

Register a metadata source to the logger. Source should be in the form of a callback function that adds properties to a metadata object.

registerMetaDataSource(callback: (metadata: any) => void): boolean

Parameter Type Description
callback (metadata: any) => void  

Returns - boolean

Defined in

Last Updated: 29 November, 2022