cmd: add log command
Add a log command to the common api which allows for listing all initialized golog subsystems, and setting their log level during runtime. Command description also adds golog environment variable documentation.
This commit is contained in:
@@ -29,6 +29,9 @@ type Common interface {
|
||||
|
||||
// Version provides information about API provider
|
||||
Version(context.Context) (Version, error)
|
||||
|
||||
LogList(context.Context) ([]string, error)
|
||||
LogSetLevel(context.Context, string, string) error
|
||||
}
|
||||
|
||||
// Version provides various build-time information
|
||||
|
||||
Reference in New Issue
Block a user