use standard __func__ instead of __PRETTY_FUNCTION__