Documentation ¶
Overview ¶
Package plog (or plumbig log) provides a logging initializer and utility functions for working with a logging library.
Index ¶
- func Combine(field ...logrus.Fields) logrus.Fields
- func DefaultFields(ctx context.Context, step pipeline.Step, opts clients.CommonOpts) logrus.Fields
- func LogPipelines(logger logrus.FieldLogger, pipelines []pipeline.Pipeline)
- func LogSteps(logger logrus.FieldLogger, steps []pipeline.Step)
- func New(level logrus.Level) *logrus.Logger
- func PipelineFields(opts clients.CommonOpts) logrus.Fields
- func StepFields(step pipeline.Step) logrus.Fields
- func TracingFields(ctx context.Context) logrus.Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFields ¶
func LogPipelines ¶
func LogPipelines(logger logrus.FieldLogger, pipelines []pipeline.Pipeline)
func PipelineFields ¶
func PipelineFields(opts clients.CommonOpts) logrus.Fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.