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.
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.