syspropertyOrInvalid

fun syspropertyOrInvalid(name: String, default: String? = null): String

Try to get java property with name name from Statics ?: System.getProperties. If failed get default If default is null return string with some dignostics and InvalidSysproperty inside.