<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/platform/tf_logging.py#L354-L357) |

Sets the threshold for what messages will be logged.

    tf.compat.v1.logging.set_verbosity(
        v
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Exploring the TF-Hub CORD-19 Swivel Embeddings](https://www.tensorflow.org/hub/tutorials/cord_19_embeddings) - [Wiki40B Language Models](https://www.tensorflow.org/hub/tutorials/wiki40b_lm) - [Assess privacy risks with the TensorFlow Privacy Report](https://www.tensorflow.org/responsible_ai/privacy/tutorials/privacy_report) |