Backport `StreamingExamples.setStreamingLogLevels()`