Print log in GetFitness()
Created at 05 Mar 2019, 13:13
Print log in GetFitness()
05 Mar 2019, 13:13
Hi there,
I usually use Print() to print my debug text in order to display Log. However, I can't do it in GetFitness method.
For example
protected override double GetFitness(GetFitnessArgs args) { double fitness; fitness = GetCustomeFitness(args); Print("fitness score {0:F2}", fitness); return fitness; }
How can I print a message to Log during GetFitness method?
Regards,
Noppanon