MCPcopy Create free account
hub / github.com/KDE/kdiff3 / initLogging

Method initLogging

diff_ext_for_kdiff3/server.cpp:173–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void SERVER::initLogging()
174{
175 tstring logFileName = getRegistryKeyString( TEXT(""), TEXT("LogFile") );
176 if ( !logFileName.empty() )
177 {
178 m_pLogFile = _tfopen( logFileName.c_str(), TEXT("a+, ccs=UTF-8") );
179 if (m_pLogFile)
180 {
181 _ftprintf( m_pLogFile, TEXT("\nSERVER::SERVER()\n") );
182 }
183 }
184}
185
186SERVER::~SERVER()
187{

Callers 1

instanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected