Skip to content

capnslog: LogLevel should fully implement pflag.Value #52

Description

@mischief

LogLevel should implement https://godoc.org/github.com/spf13/pflag#Value, so that one may do e.g.:

main.PersistentFlags().Var(&level, "log-level", "Set global log level. (default is NOTICE)")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions