Commits

Tuukka Norri  committed 2dfaf22

Added the missing fflush

  • Participants
  • Parent commits e0ffab1

Comments (0)

Files changed (1)

File Sources/BXLogger.m

 	const char isMain = ([NSThread isMainThread] ? 'm' : 's');
 	fprintf (stderr, "%23s  %s (%s) [%d]  %s:%d  %s [%p%c] \t%8s %s\n", 
 		[date UTF8String], executable, library ?: "???", getpid (), file, line, functionName, [NSThread currentThread], isMain, LogLevel (level), [message UTF8String]);
+	fflush (stderr);
 	
 	//For GC.
 	[date self];