func LogLevelString(level apilogging.Level) string {
	return levelNames[level]
}
LogLevelString returns String repressentation of given log level
package utils
import (
	"errors"
	"strings"
	"github.com/hyperledger/fabric-sdk-go/api/apilogging"
)
var levelNames = []string{
	"CRITICAL",
	"ERROR",
	"WARNING",
	"INFO",
	"DEBUG",
}
func LogLevel(level string) (apilogging.Level, error) {
	for i, name := range levelNames {
		if strings.EqualFold(name, level) {
			return apilogging.Level(i), nil
		}
	}
	return apilogging.ERROR, errors.New("logger: invalid log level")
}