Fixing c# compile

Logger.level is an Integer which gets set to 0 in the constructor. I'm not sure where it is possible to set the level to null.

This code is invalid when generating C# (or cpp or flash from the looks of it).