Small enhancement of the logger