aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_debuglog_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/export_debuglog_test.go')
-rw-r--r--src/runtime/export_debuglog_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/export_debuglog_test.go b/src/runtime/export_debuglog_test.go
index e4b4ab9914..a361c02299 100644
--- a/src/runtime/export_debuglog_test.go
+++ b/src/runtime/export_debuglog_test.go
@@ -12,7 +12,11 @@ const DebugLogBytes = debugLogBytes
const DebugLogStringLimit = debugLogStringLimit
-var Dlog = dlog
+type Dlogger = dloggerImpl
+
+func Dlog() *Dlogger {
+ return dlogImpl()
+}
func (l *dloggerImpl) End() { l.end() }
func (l *dloggerImpl) B(x bool) *dloggerImpl { return l.b(x) }