Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderName = "logger"
Variables ¶
View Source
var Set = wire.NewSet(ConfigProvider, Factory)
Functions ¶
Types ¶
type Config ¶
type Config struct { Level string `hcl:"level"` Format OutputFormat `hcl:"format"` Stdout StdOutput `hcl:"stdout"` }
func ConfigProvider ¶
func ConfigProvider(cfg *fabric.Configuration) (*Config, error)
type OutputFormat ¶
type OutputFormat string
const ( OutputFormatAuto OutputFormat = "auto" OutputFormatJSON OutputFormat = "json" OutputFormatConsole OutputFormat = "console" )
Click to show internal directories.
Click to hide internal directories.