Fix minified build by adding Observer and a check for undefined logFlags