Categorygithub.com/wasilak/loggergo
modulepackage
1.4.0
Repository: https://github.com/wasilak/loggergo.git
Documentation: pkg.go.dev

# README

loggergo

GitHub tag (with filter) GitHub go.mod Go version (branch & subdirectory of monorepo) Go Reference Maintainability

Logging library I've come up with in order unify way my apps implement logging.

diagram

# Functions

No description provided by the author
No description provided by the author
The LoggerInit function initializes a logger with the provided configuration and additional attributes.
No description provided by the author
No description provided by the author

# Constants

DevFlavorDevslog represents the production "devslog" flavor.
DevFlavorSlogor represents the "slogor" development flavor.
DevFlavorTint represents the "tint" development flavor.
LogFormatJSON represents text format.
LogFormatOtel represents OTEL (JSON) format.
LogFormatText represents JSON format.
OutputConsole represents console output.
OutputFanout represents both console and otel output.
OutputOtel represents otel output.

# Structs

Config represents the configuration options for the LoggerGo logger.

# Type aliases

DevFlavor represents the flavor of the development environment.
LogFormat represents the format of the log.
OutputType represents the type of output for the logger.