package
0.0.0-20240707112111-9cf347bf49e2
Repository: https://github.com/facebookincubator/go-belt.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Default returns a types.Logger based on logrus, using the default configuration.
LevelFromLogrus maps logrus.Level into types.Level.
LevelToLogrus maps types.Level into logrus.Level.
New returns a types.Logger implementation based on a logrus Logger.
NewEmitter returns a new types.Emitter implementation based on a logrus logger.

# Constants

EntryPropertyIgnoreFields means the provided fields in types.Entry.Fields should be ignored by Emitter.LogEntry.

# Variables

DefaultLogrusLogger returns a logrus logger with the default configuration.
FieldNameTraceIDs is the field name used to store trace IDs.
No description provided by the author

# Structs

CompactLogger implements types.CompactLogger given a logrus logger.
Emitter implements types.Emitter given a logrus entry.
RestoreCallerHook is a logrus.Hook which sets the Caller from a Context.

# Type aliases

EntryProperty is a type of values which could be used in field types.Entry.Properties.