flashsim.c: replace colored logs with conditional logs