aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_debuglog_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2024-07-23 15:11:14 -0400
committerAustin Clements <austin@google.com>2024-07-30 13:10:52 +0000
commiteb6743d9d7dd48f785e48b1967f405658a6444d7 (patch)
treecad1149e108795cb96373ee467dc0dde20a3d313 /src/runtime/export_debuglog_test.go
parent8b51146c698bcfcc2c2b73fa9390db5230f2ce0a (diff)
downloadgo-eb6743d9d7dd48f785e48b1967f405658a6444d7.tar.xz
runtime: rename dlogger to dloggerImpl
This is a mechanical change, other than adding the type alias for dlogger. This is a step in preparing us to make debuglog testable without the debuglog build tag. Change-Id: Ief12f0eaf5db98a8b006c759fd325dabcc9a52d4 Reviewed-on: https://go-review.googlesource.com/c/go/+/600695 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/export_debuglog_test.go')
-rw-r--r--src/runtime/export_debuglog_test.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/runtime/export_debuglog_test.go b/src/runtime/export_debuglog_test.go
index 04ac79f357..e4b4ab9914 100644
--- a/src/runtime/export_debuglog_test.go
+++ b/src/runtime/export_debuglog_test.go
@@ -14,15 +14,15 @@ const DebugLogStringLimit = debugLogStringLimit
var Dlog = dlog
-func (l *dlogger) End() { l.end() }
-func (l *dlogger) B(x bool) *dlogger { return l.b(x) }
-func (l *dlogger) I(x int) *dlogger { return l.i(x) }
-func (l *dlogger) I16(x int16) *dlogger { return l.i16(x) }
-func (l *dlogger) U64(x uint64) *dlogger { return l.u64(x) }
-func (l *dlogger) Hex(x uint64) *dlogger { return l.hex(x) }
-func (l *dlogger) P(x any) *dlogger { return l.p(x) }
-func (l *dlogger) S(x string) *dlogger { return l.s(x) }
-func (l *dlogger) PC(x uintptr) *dlogger { return l.pc(x) }
+func (l *dloggerImpl) End() { l.end() }
+func (l *dloggerImpl) B(x bool) *dloggerImpl { return l.b(x) }
+func (l *dloggerImpl) I(x int) *dloggerImpl { return l.i(x) }
+func (l *dloggerImpl) I16(x int16) *dloggerImpl { return l.i16(x) }
+func (l *dloggerImpl) U64(x uint64) *dloggerImpl { return l.u64(x) }
+func (l *dloggerImpl) Hex(x uint64) *dloggerImpl { return l.hex(x) }
+func (l *dloggerImpl) P(x any) *dloggerImpl { return l.p(x) }
+func (l *dloggerImpl) S(x string) *dloggerImpl { return l.s(x) }
+func (l *dloggerImpl) PC(x uintptr) *dloggerImpl { return l.pc(x) }
func DumpDebugLog() string {
gp := getg()