void SP_CALLCONV Session::callback_log_message(sp_session *session, const char *data) { Session* pSession = GetSessionFromUserdata( session ); pSession->OnLogMessage( data ); }