github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/pkg/logger/fields.go (about)

     1  package logger
     2  
     3  // Allow arbitrary fields on a log.
     4  // Inspired by the logrus.Fields API
     5  // https://github.com/sirupsen/logrus
     6  type Fields map[string]string
     7  
     8  const FieldNameProgressID = "progressID"
     9  const FieldNameBuildEvent = "buildEvent"
    10  
    11  // Most progress lines are optional. For example, if a bunch
    12  // of little upload updates come in, it's ok to skip some.
    13  //
    14  // progressMustPrint="1" indicates that this line must appear in the
    15  // output - e.g., a line that communicates that the upload finished.
    16  const FieldNameProgressMustPrint = "progressMustPrint"