Allow setting the threshold for logs sent to os.Stderr.