logging

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LogLevelEnvVar :: environment variable defining the steampipe log level
	LegacyLogLevelEnvVar = "SP_LOG"
	LegacyProfileEnvVar  = "SP_PROFILE"
	LogLevelEnvVar       = "STEAMPIPE_LOG"
	ProfileEnvVar        = "STEAMPIPE_PROFILE"
)

Variables

This section is empty.

Functions

func ClearProfileData

func ClearProfileData()

func DisplayProfileData

func DisplayProfileData(minTime time.Duration)

func LogLevel

func LogLevel() string

func LogTime

func LogTime(operation string)

func NewLogger

func NewLogger(options *hclog.LoggerOptions) hclog.Logger

NewLogger creates a hclog logger with the level specified by the SP_LOG env var

Types

This section is empty.

Jump to

Keyboard shortcuts

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