src/con-logger.cpp
// Log a text line to the selected file.
// If there is no selected file, return error only if noUnselError
// is false (meaning it has to be seen as an error).

Log a text line to the selected file.
If there is no selected file, return error only if noUnselError
is false (meaning it has to be seen as an error).
Log a text line to the selected file . If there is no selected file return error only if noUnselError is false ( meaning it has to be seen as an error ) .
bool conLoggerClass::logToFile(char* text, bool noUnselError)
{
	return true;
}
bool conLoggerClass :: logToFile ( char * text , bool noUnselError ) { return true ; }
Log a text line to the selected file.
Log a text line to the selected file .
/*	FILE* file;

	if (!initialized) return false;

	// is a file selected
	if (!fileReady) {
		// we won't be able to write anything...
		// should we return an error code?
		if (noUnselError) return true;// no
		return false;// yes
	}

	// open for writing, binary appending
	file=fopen(fileName, "a+b");
	if (file==NULL) {
		return false;// failed the opening
	}

	// write the text...
	fwrite(text, 1, strlen(text), file);

	// write the newline
	fwrite("\x00D\x00A", 1, 2, file);

	// time to close the file
	fclose(file);
*/ // all ok
