add log macro use __PRETTY_FUNCTION__ for c++