Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to prevent .log file creation?
Re: How to prevent .log file creation? [message #6533 is a reply to message #6515] Thu, 16 November 2006 16:56 Go to previous messageGo to previous message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
luzr wrote on Thu, 16 November 2006 02:07

But sometimes, in development releases, I forget to delete some LOGs and TIMINGs in the sources....



I found it in this source file: Core\Debug.cpp Smile

TimingInspector::~TimingInspector() {
//	ASSERT(nesting_depth == 0); // troubles in MT!
	if(this == &s_zero()) return;
//	StdLog() << Dump() << "\r\n";  // prevent .log creation 
}

After commenting out the last line, the .log file is no longer created.

Best Regards,
Yeoh
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, 0, szPath)
Next Topic: SetExeTitle not availeable in 611-dev2
Goto Forum:
  


Current Time: Tue Apr 29 08:31:49 CEST 2025

Total time taken to generate the page: 0.00721 seconds