package
0.0.0-20240301081839-8845b8706671
Repository: https://github.com/llussy/go-utils.git
Documentation: pkg.go.dev

# Functions

Any takes a key and an arbitrary value and chooses the best way to represent them as a field, falling back to a reflection-based approach only if necessary.
Error is shorthand for the common idiom NamedError("error", err).
GetLogger return logger with module name.
InitLogger initializes a zap logger from user config.
Int32 constructs a field with the given key and value.
Int64 constructs a field with the given key and value.
L returns under zap logger.
Reflect constructs a field with the given key and an arbitrary object.
Stack constructs a field that stores a stacktrace of the current goroutine under provided key.
String constructs a field with the given key and value.
Uint16 constructs a field with the given key and value.
Uint32 constructs a field with the given key and value.
Uint64 constructs a field with the given key and value.

# Structs

Log represents a logging configuration.
Logger is wrapper for zap logger with module, it is singleton.

# Type aliases

Field represents filed of zap logger.