log and opt style