added filter to blog_id used in log

- Will allow extensions and future features to set blog_id without relying on get_current_blog_id() or is_network_admin()