cfgwarn

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Beta

func Beta(format string, v ...interface{})

Beta logs the usage of an beta feature.

func CheckRemoved6xSetting

func CheckRemoved6xSetting(cfg *config.C, setting string) error

CheckRemoved6xSetting prints a warning if the obsolete setting is used.

func CheckRemoved6xSettings

func CheckRemoved6xSettings(cfg *config.C, settings ...string) error

CheckRemoved6xSettings prints a warning if the obsolete setting is used.

func Deprecate

func Deprecate(version string, format string, v ...interface{})

Deprecate logs a deprecation message. The version string contains the version when the future will be removed. If version is empty, the message will not mention the removal of the feature.

func Experimental

func Experimental(format string, v ...interface{})

Experimental logs the usage of an experimental feature.

Types

This section is empty.

Jump to

Keyboard shortcuts

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