log

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package `log` implements a simple logger that can be used to log messages

Index

Constants

View Source
const (
	DefaultName = "log"
)

Variables

This section is empty.

Functions

func NewWithPlugin

func NewWithPlugin(p Plugin) (*t, error)

Create a new logger task with provider of other tasks

Types

type Plugin

type Plugin struct {
	task.Plugin
	Flags_ []string `json:"flags,omitempty" hcl:"flags,optional"`
	// contains filtered or unexported fields
}

func WithLabel added in v1.1.1

func WithLabel(label string) Plugin

func (Plugin) Name

func (p Plugin) Name() string

func (Plugin) New

Create a new logger task with provider of other tasks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL