Documentation

Index

Constants

View Source
const (
	CRITICAL logging.Level = iota
	ERROR
	WARNING
	INFO
	DEBUG
)

    Log levels (from fabric-sdk-go/pkg/logging/level.go).

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Logger

    type Logger struct {
    	*logging.Logger
    	// contains filtered or unexported fields
    }

      Logger bridges the SDK's logger struct

      func MustGetLogger

      func MustGetLogger(module string) *Logger

        MustGetLogger bridges calls the Go SDK NewLogger

        func (*Logger) IsEnabledFor

        func (l *Logger) IsEnabledFor(level logging.Level) bool

          IsEnabledFor bridges calls to the Go SDK logger's IsEnabledFor.

          func (*Logger) Warning

          func (l *Logger) Warning(args ...interface{})

            Warning bridges calls to the Go SDK logger's Warn.

            func (*Logger) Warningf

            func (l *Logger) Warningf(format string, args ...interface{})

              Warningf bridges calls to the Go SDK logger's Warnf.

              Source Files

              Directories

              Path Synopsis