Output local time in front of cout and cerr