logbridge

package
v1.12.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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