Remove all debugging output that cannot be disabled.

The use of printf, wxLogDebug, and std::err/std::out causes excessive
debugging output which makes finding specific debugging messages more
difficult than it needs to be.

There is still some debugging output in test code that really needs to
be moved into a unit test.

Add debugging output section to the coding policy regarding debugging
output.
This commit is contained in:
Wayne Stambaugh
2020-08-18 10:17:36 -04:00
parent 4cc820f550
commit ede39780e2
99 changed files with 231 additions and 1146 deletions
@@ -8,8 +8,6 @@ class MyClass
public:
int MyMethod( const string& arg )
{
printf( "MyClass(this = %p)::MyMethod() called with string '%s', length %d\n", this,
arg.c_str(), arg.length() );
return arg.length();
}
};
@@ -29,6 +27,5 @@ main()
retval1 = ptr1( "apples" );
retval2 = ptr2( "cherries" );
printf( "Object 1 returned %d, object 2 returned %d\n", retval1, retval2 );
return 0;
}