Expose LogFun type
Expose takeMetadata function