updated LOG function to use __PRETTY_FUNCTION__, which also works in C and C++ contexts