package
2.0.7
Repository: https://github.com/unbxd/go-base.git
Documentation: pkg.go.dev

# Functions

Bool is a wrapper for boolean values for logging.
Error is wrapper for error values for logging.
Float value is for floating point fields.
Ctx returns the logger wrapped in the Context.
Int wrapper for logging.
Int64 is a wrapper int64 values for logging.
No description provided by the author
NewZapLogger returns a default implementaiton of log.Logger interface using uber/zap as core layer.
No description provided by the author
Reflect returns a field for which the value is undetermined.
String is logger wrapper for string.
ZapWithAppendedOutput is option to add additional output to list of existing output destination.
ZapWithEncoding is option to set encoding for zap based logger.
ZapWithLevel is option to set level for Zap Based Logger.
ZapWithOutput is option to set output paths for zap based logger.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Field Types supported by Logger.
Field Types supported by Logger.
Field Types supported by Logger.
Field Types supported by Logger.
Field Types supported by Logger.
Field Types supported by Logger.
Field Types supported by Logger.

# Structs

Field defines a standard Key-Value pair used to populate the value for the logger.

# Interfaces

Logger defines standard set of functions supported by logger and used across the Base Package.

# Type aliases

FieldType defines the type for a field.
No description provided by the author
Alerter is used to notify, how many messages were dropped example: func(missed int) { fmt.Printf("Logger Dropped %d messages", missed) }.
No description provided by the author