flag

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const FileFlagHelp = "Output file of log messages. One of [stdout, stderr, eventlog, <path to log file>]"

FileFlagHelp is the help description for the log.file flag.

View Source
const FileFlagName = "log.file"

FileFlagName is the canonical flag name to configure the log file.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(a *kingpin.Application, config *log.Config)

AddFlags adds the flags used by this package to the Kingpin application. To use the default Kingpin application, call AddFlags(kingpin.CommandLine).

Types

This section is empty.

Jump to

Keyboard shortcuts

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