package
0.0.0-20240130143454-031fb6c405fe
Repository: https://github.com/o1egl/pidor-bot.git
Documentation: pkg.go.dev
# Packages
Package mock_log is a generated GoMock package.
# Functions
FormatNames returns a list of possible string values of Format.
No description provided by the author
LevelNames returns a list of possible string values of Level.
No description provided by the author
NewLogger returns an instance of logger.
ParseFormat attempts to convert a string to a Format.
ParseLevel attempts to convert a string to a Level.
No description provided by the author
# Constants
FormatJson is a Format of type Json.
FormatPlain is a Format of type Plain.
LevelDebug is a Level of type Debug.
LevelError is a Level of type Error.
LevelFatal is a Level of type Fatal.
LevelInfo is a Level of type Info.
LevelWarn is a Level of type Warn.
# Variables
DefaultLogger instance that can be used immediately.
# Structs
Configuration for the logger.
No description provided by the author
No description provided by the author
# Interfaces
Logger is the contract of logger.
SugaredLogger is the contract of logger.
No description provided by the author