fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/sdkpatch/logbridge Index | Files | Directories

package logbridge

import "github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/sdkpatch/logbridge"

Index

Package Files

logbridge.go

Constants

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

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

type Logger Uses

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

Logger bridges the SDK's logger struct

func MustGetLogger Uses

func MustGetLogger(module string) *Logger

MustGetLogger bridges calls the Go SDK NewLogger

func (*Logger) IsEnabledFor Uses

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

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

func (*Logger) Warning Uses

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

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

func (*Logger) Warningf Uses

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

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

Directories

PathSynopsis
httpadmin

Package logbridge imports 1 packages (graph) and is imported by 12 packages. Updated 2019-02-11. Refresh now. Tools for package owners.