Support logging to object which has write(), like File::Write::Rotate