G4 log writer helper