Custom Logging - LogLevel Type

I was trying to Set the Type of argument as LogLevel, but it doesn´t work.

At the screensho it´s a default value, it´s throwing the error everytime when i open the expression editor, these values are default values (that LogLevel.Fatal is default logLevel of Log Message)

Studio is 2022.10.1