logbridge

package
v1.10.0-beta5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL