Skip to content

Commit d0cbbe9

Browse files
committed
refactor: improve orion extension invocation logging
1 parent d8a2dbc commit d0cbbe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language/orion/starzelle/plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (p starzellePluginProxy) Prepare(ctx plugin.PrepareContext) plugin.PrepareR
131131
return EmptyPrepareResult
132132
}
133133

134-
BazelLog.Debugf("Invoked plugin %s:prepare(%q): %v\n", p.name, ctx.Rel, v)
134+
BazelLog.Debugf("%s:prepare(%q): %v\n", p.name, ctx.Rel, v)
135135

136136
pr, isPR := v.(plugin.PrepareResult)
137137
if !isPR {
@@ -174,7 +174,7 @@ func (p starzellePluginProxy) DeclareTargets(ctx plugin.DeclareTargetsContext) p
174174

175175
actions := ctx.Targets.Actions()
176176

177-
BazelLog.Debugf("Invoked plugin %s:DeclareTargets(%q): %v\n", p.name, ctx.Rel, actions)
177+
BazelLog.Debugf("%s:declare(%q): %v\n", p.name, ctx.Rel, actions)
178178
return plugin.DeclareTargetsResult{
179179
Actions: actions,
180180
}

0 commit comments

Comments
 (0)