...

Package clilogging

import "github.com/hyperledger/fabric/peer/clilogging"
Overview
Index

Overview ▾

func Cmd

func Cmd(cf *LoggingCmdFactory) *cobra.Command

Cmd returns the cobra command for Logging

type LoggingCmdFactory

LoggingCmdFactory holds the clients used by LoggingCmd

type LoggingCmdFactory struct {
    AdminClient pb.AdminClient
    // contains filtered or unexported fields
}

func InitCmdFactory

func InitCmdFactory() (*LoggingCmdFactory, error)

InitCmdFactory init the LoggingCmdFactory with default admin client