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++ Library : Other (not classified elsewhere) » Last SVN update added too mutch Logs on my application
Last SVN update added too mutch Logs on my application [message #55550] Fri, 20 November 2020 23:19 Go to next message
Xemuth is currently offline  Xemuth
Messages: 265
Registered: August 2018
Location: France
Experienced Member
On the latest Upp version (15475), something may have changed in Upp framework (probably on CtrlLib but I havnt found yet where it come) resulting in this :
https://i.imgur.com/T6WZLAc.png


My application is simply a top window with a GLCtrl in it, here is a quick chunck of code :
class StencilTest : public TopWindow{
	public:
		typedef StencilTest CLASSNAME;
		
		StencilTest(){
			Add(GLCanvas.HSizePos(10, 10).VSizePos(10, 10));
			context.TimerStart(); //One of my object
			GLCanvas.WhenGLPaint = THISBACK(OnPaint);
		}
		
		virtual bool Key(dword key, int count){
			if(key == K_ESCAPE){
				Close();
			}
			return true;
		}
		
	private:
		GLCtrl GLCanvas;
		UFEContext context;
		bool loaded = false;
		//...


All thoses logs can also be found if you add the line :
Upp::StdLogSetup(Upp::LOG_COUT| Upp::LOG_FILE);
to OpenGL exemple in Reference Assembly.




Re: Last SVN update added too mutch Logs on my application [message #55551 is a reply to message #55550] Fri, 20 November 2020 23:32 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 792
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello Xemuth,

The easiest way to found the root cause is too look throug git/svn history. It seems that this commit add additional logging Smile

And here is the line that add logging:
#ifdef _DEBUG
#define LOGMESSAGES 0 // <- Should be this!
#define LOGMESSAGES 1 // <- Not this...
#endif


Anyway good catch and perfect report!

Klugier


Ultimate++ - one framework to rule them all.

[Updated on: Fri, 20 November 2020 23:33]

Report message to a moderator

Re: Last SVN update added too mutch Logs on my application [message #55552 is a reply to message #55551] Fri, 20 November 2020 23:40 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 265
Registered: August 2018
Location: France
Experienced Member
Thanks again Klugier !


Re: Last SVN update added too mutch Logs on my application [message #55569 is a reply to message #55552] Sun, 22 November 2020 14:21 Go to previous message
mirek is currently offline  mirek
Messages: 12941
Registered: November 2005
Ultimate Member
Sorry about that.

This is reason why I have introduced DLOGs BTW... But LOGMESSAGES predate it.

Mirek
Previous Topic: [Request] Add gst-play-1.0 to Linux notification sound players list.
Next Topic: typo in labelbase ?
Goto Forum:
  


Current Time: Wed Nov 25 08:29:50 CET 2020

Total time taken to generate the page: 0.01494 seconds