package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Code generated by counterfeiter.

# Functions

ActivateSpec is used to activate a logging specification.
DefaultLevel returns the default log level.
Init initializes logging with the provided config.
No description provided by the author
LoggerLevel gets the current logging level for the logger with the provided name.
MustGetLogger creates a logger with the specified name.
NameToLevel converts a level name to a zapcore.Level.
New creates a new logging system and initializes it with the provided configuration.
NewFabricLogger creates a logger that delegates to the zap.SugaredLogger.
NewGRPCLogger creates a grpc.Logger that delegates to a zap.Logger.
NewZapLogger creates a zap logger around a new zap.Core.
Reset sets logging to the defaults defined in this package.
SetObserver calls SetObserver returning the previous value of the observer.
SetWriter calls SetWriter returning the previous value of the writer.

# Constants

No description provided by the author
DisabledLevel represents a disabled log level.
No description provided by the author
No description provided by the author
PayloadLevel is used to log the extremely detailed message level debug information.

# Variables

No description provided by the author

# Structs

Config is used to provide dependencies to a Logging instance.
Core is a custom implementation of a zapcore.Core.
A FabricLogger is an adapter around a zap.SugaredLogger that provides structured logging capabilities while preserving much of the legacy logging behavior.
LoggerLevels tracks the logging level of named loggers.
Logging maintains the state associated with the fabric logging system.

# Interfaces

EncodingSelector is used to determine whether log records are encoded as JSON or in human readable CONSOLE or LOGFMT formats.
No description provided by the author

# Type aliases

No description provided by the author