log

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, args ...interface{})

Debug logs a debug message.

func Error

func Error(msg string, args ...interface{})

Error logs an error message.

func Info

func Info(msg string, args ...interface{})

Info logs an info message.

func L

func L() hclog.Logger

L returns the current global logger.

func Named added in v1.6.0

func Named(name string) hclog.Logger

Named returns a child logger that inherits the configured options.

func SetLogger

func SetLogger(l hclog.Logger)

SetLogger sets the global logger.

func Warn

func Warn(msg string, args ...interface{})

Warn logs a warning message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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