mongo log handler doesn't need to be global
function pointer call syntax learned