Skip to content

Commit 641ab4d

Browse files
author
Shun Fan
committed
Add region tags to stackdriver
1 parent 1973c12 commit 641ab4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compute/stackdriver/src/main/java/com/example/compute/stackdriver/ExceptionUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.util.HashMap;
2424
import java.util.Map;
2525

26+
// [START example]
2627
public class ExceptionUtil {
2728
private static FluentLogger ERRORS = FluentLogger.getLogger("myapp");
2829

@@ -46,3 +47,4 @@ public static void report(Throwable ex) {
4647
ERRORS.log("errors", data);
4748
}
4849
}
50+
// [END example]

0 commit comments

Comments
 (0)