The only way to avoid that is by replacing ...t
with explicit parameters, like this:
public function log(classn:*, p0:* = null, p1:* = null, p2:* = null, p3:* = null):void;
In the function body, you can then check for each parameter for null
individually.