예제 #1
0
void LogSettings::reinitRemoteLog() 
{
    closeRemoteLog();
	if ( m_strLogURL.length() > 0 && isLogToSocket() )
		m_pSocketSink = new CLogSocketSink(*this);
}
예제 #2
0
void LogSettings::reinitRemoteLog() {
    closeRemoteLog();
	if(!m_pSocketSink && m_strLogURL != "")
		m_pSocketSink = new CLogSocketSink(*this);
}