write to a custom debug log