Note: Logs written to stdout and stderr are automatically sent to Stackdriver Logging for you, without needing to use Stackdriver Logging library for Java.
Remarque : Les journaux écrits dans stdout et stderr sont automatiquement envoyés à Stackdriver Logging. Vous n'avez pas besoin d'utiliser la bibliothèque Stackdriver Logging pour Java.
The Stackdriver Logging agent does not have to be installed to use the Stackdriver Logging library for Java.
Vous n'avez pas besoin d'installer l'agent Stackdriver Logging pour utiliser la bibliothèque Stackdriver Logging pour Java.
Using Stackdriver Logging library for Java requires the Cloud IAM Logs Writer role on GCP.
Pour utiliser la bibliothèque Stackdriver Logging pour Java, vous devez détenir le rôle Cloud IAM Rédacteur de journaux sur GCP.
Setting Up Stackdriver Logging for Java You can write logs to Stackdriver Logging from Java applications by using the Logback appender or a java.util.logging handler, or by using the Stackdriver Logging library for Java directly.
Quotas et limites pour Java Vous pouvez écrire des journaux dans Stackdriver Logging depuis des applications Java grâce à l'appender Logback, à un gestionnaire java.util.logging, ou en utilisant directement la bibliothèque Stackdriver Logging pour Java.
Note: If using the Stackdriver Logging library for Java API directly, there is no default log name or minimum threshold.
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.