package
0.0.0-20241019151556-e1d4c8ccf4a8
Repository: https://github.com/shortlink-org/shortlink.git
Documentation: pkg.go.dev

# README

Logger package

This package provides a simple logger interface and a default implementation.

Support loggers

  • Zap
  • Logrus
  • Slog (structured logger)

# 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
No description provided by the author

# Functions

New - return new an instance of logger.
No description provided by the author

# Constants

Logrus implementation.
Zap implementation.

# Variables

ErrInvalidLoggerInstance is an error when logger instance is invalid.

# Structs

No description provided by the author

# Interfaces

Logger is our contract for the logger.