Documentation ¶
Index ¶
Constants ¶
View Source
const Error = "error"
Variables ¶
This section is empty.
Functions ¶
func BuildDisplayFunc ¶ added in v1.1.1
func LevelWarnOrDebug ¶
func LevelWarnOrDebug(debug bool) hclog.Level
func StdDisplay ¶ added in v1.1.1
func StdDisplay(msg string)
Types ¶
type BasicDisplayer ¶ added in v1.1.1
type BasicDisplayer struct {
// contains filtered or unexported fields
}
func MakeBasicDisplayer ¶ added in v1.1.1
func MakeBasicDisplayer(logger hclog.Logger, display func(string)) BasicDisplayer
func (BasicDisplayer) Display ¶ added in v1.1.1
func (bd BasicDisplayer) Display(msg string)
func (BasicDisplayer) Flush ¶ added in v1.1.1
func (bd BasicDisplayer) Flush(bool)
func (BasicDisplayer) IsDebug ¶ added in v1.1.1
func (bd BasicDisplayer) IsDebug() bool
func (BasicDisplayer) Log ¶ added in v1.1.1
func (bd BasicDisplayer) Log(level hclog.Level, msg string, args ...any)
type StateWrapper ¶ added in v1.1.1
type StateWrapper struct {
Displayer
}
func NewRecordingDisplayer ¶ added in v1.1.1
func NewRecordingDisplayer(displayer Displayer) *StateWrapper
func (*StateWrapper) Flush ¶ added in v1.1.1
func (sw *StateWrapper) Flush(logMode bool)
Click to show internal directories.
Click to hide internal directories.