printException with specified level