Repaired bug in TextLogger