Skip to content

capnslog: LogLevel should fully implement pflag.Value #52

@mischief

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions