cvx目标函数表达式Log(复数),怎么解决

问题遇到的现象和发生背景

cvx目标函数表达式log(x),x中含有变量,且是复数,不知怎么改正

问题相关代码,请勿粘贴截图
variables W1x(Nt,Nt) W2x(Nt,Nt) 
variable Zx(Nt,Nt) complex semidefinite
variable p13  nonnegative
variable p23  nonnegative
variable p14  nonnegative
variable p24  nonnegative

obj=-log(trace(ZxM1)+sigmak^2+trace(M1W1x)+trace(M1*W2x));

运行结果及报错内容

错误使用 cvx/log (第 64 行)
Disciplined convex programming error:
Illegal operation: log( {complex affine} ).

出错 main (第 93 行)
obj=-log(trace(ZxM1)+sigmak^2+trace(M1W1x)+trace(M1*W2x));

我的解答思路和尝试过的方法

尝试将Log(a+bi)的形式将实部和虚部分开,但是表达好像太过复杂,失败告终

我想要达到的结果

目标函数表达式正确