Fix bug introduced into logger by textgrid API change.