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: branches/autosynth-errorreporting/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -186,8 +186,15 @@ public static EntryListOption filter(String filter) {
186
186
SynchronicitygetWriteSynchronicity();
187
187
188
188
/**
189
-
* Sets flush severity for asynchronous logging writes. Default is ERROR. Logs will be immediately
190
-
* written out for entries at or higher than flush severity.
189
+
* Sets flush severity for asynchronous logging writes. It is disabled by default, enabled when
190
+
* this method is called with not null value. Logs will be immediately written out for entries at
191
+
* or higher than flush severity.
192
+
*
193
+
* <p>Enabling this can cause the leaking and hanging threads, see BUG(2796) BUG(3880). However
194
+
* you can explicitly call {@link #flush}.
195
+
*
196
+
* <p>TODO: Enable this by default once functionality to trigger rpc is available in generated
Copy file name to clipboardExpand all lines: branches/autosynth-errorreporting/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingImpl.java
Copy file name to clipboardExpand all lines: branches/autosynth-errorreporting/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/BaseSystemTest.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -229,6 +229,7 @@ public void testWriteAndListLogEntries() throws InterruptedException {
Copy file name to clipboardExpand all lines: branches/autosynth-errorreporting/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/LoggingImplTest.java
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1188,6 +1188,41 @@ public void testWriteLogEntries() {
0 commit comments