You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .readme-partials.yaml
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,28 @@ custom_content: |
66
66
.build();
67
67
logging.write(Collections.singleton(firstEntry));
68
68
```
69
-
69
+
70
+
The library supports writing log entries synchronously and asynchronously.
71
+
In the synchronous mode each call to `write()` method results in a consequent call to Logging API to write a log entry.
72
+
In the asynchronous mode the call(s) to Logging API takes place asynchronously and few calls to `write()` method may be batched together to compose a single call to Logging API.
73
+
The default mode of writing is asynchronous.
74
+
It can be configured in the `java.util.logging` handler [configuration file](https://cloud.google.com/logging/docs/setup/java#javautillogging_configuration):
0 commit comments