You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'd like to use LOG_TO_STRING(ERROR,string) macros.
However, it requires to write using namespace std; or using std::string;
before calling macros. That's not convinient.
That's because LOG_TO_STRING does not use std namespace in static_cast.
Hi,
I'd like to use LOG_TO_STRING(ERROR,string) macros.
However, it requires to write
using namespace std; or using std::string;
before calling macros. That's not convinient.
That's because LOG_TO_STRING does not use std namespace in static_cast.
#define LOG_TO_STRING(severity, message) \ LOG_TO_STRING_##severity(static_cast<string*>(message)).stream()
The text was updated successfully, but these errors were encountered: