Plugin Script does not print to output log

Well, then I’m not sure what you were expecting to happen? Of course the constructor doesn’t run when you don’t create instances.

It’s “working” now only because your constructor is run when creating the CDO. It doesn’t make it a good place to put code.