Removed namespace from log.h, updated examples.md with updated example4 code for canon