Fixed log class, I was closing the static stream in the destructor!