Modified NSLog behaviour.