verbosity

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package verbosity is a plugin of launchr to configure log level of the app.

Index

Constants

View Source
const ID = "verbosity"

ID is a plugin id.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
}

Plugin is launchr plugin to set verbosity of the application.

func (*Plugin) CobraAddCommands

func (p *Plugin) CobraAddCommands(rootCmd *cobra.Command) error

CobraAddCommands implements launchr.CobraPlugin interface to set app verbosity.

func (*Plugin) InitApp

func (p *Plugin) InitApp(*launchr.App) error

InitApp implements launchr.Plugin interface.

func (*Plugin) PluginInfo

func (p *Plugin) PluginInfo() launchr.PluginInfo

PluginInfo implements launchr.Plugin interface.

Jump to

Keyboard shortcuts

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