#Pipeline Logging

1 messages · Page 1 of 1 (latest)

arctic mason
#

Quick gut check before I file a feature request...

Is there any way to add logs to pipeline stages?

Example: I dont want this to all dump at the start of my command, I want them within the "publish" pipeline as if they were stdout

publish step might look like this

func (t *Train) Build(ctx context.Context, client *dagger.Client, src *dagger.Directory) []*dagger.Container {
    client = client.Pipeline("Python Train build")
    log.Infof("Building train deployable %s", t.Name)
... more code