logging

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

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 added in v0.2.0

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