Hook console output