Index: runtime/vm/thread.h |
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
index 63837bd849ddff3f13e6cf3b66fec0885b9d28e0..54edf1eb1a11b1f683bef2e2fa792ece890c64fc 100644 |
--- a/runtime/vm/thread.h |
+++ b/runtime/vm/thread.h |
@@ -31,6 +31,11 @@ class Thread { |
return reinterpret_cast<Isolate*>(this); |
} |
+ // The log for this thread. |
+ Log* Log() { |
+ return reinterpret_cast<Isolate*>(this)->Log(); |
+ } |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(Thread); |
}; |