logger

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

Types

type Logger

type Logger interface {
	LogInfo(action, message string, args ...interface{})
	LogWarn(action, message string, args ...interface{})
	LogError(action, message string, args ...interface{})
	LogDebug(action, message string, args ...interface{})
	InitLogger() hclog.Logger
}

func NewLogger

func NewLogger() Logger

type PipelineLogger

type PipelineLogger struct {
}

func (*PipelineLogger) InitLogger

func (l *PipelineLogger) InitLogger() hclog.Logger

func (*PipelineLogger) LogDebug

func (l *PipelineLogger) LogDebug(action, message string, args ...interface{})

func (*PipelineLogger) LogError

func (l *PipelineLogger) LogError(action, message string, args ...interface{})

func (*PipelineLogger) LogInfo

func (l *PipelineLogger) LogInfo(action, message string, args ...interface{})

func (*PipelineLogger) LogWarn

func (l *PipelineLogger) LogWarn(action, message string, args ...interface{})

Jump to

Keyboard shortcuts

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