logger

package
v0.0.0-...-7538a8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogConfig

type LogConfig struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(serviceName string) (logger LogConfig)

func (LogConfig) Debug

func (log LogConfig) Debug(message string)

func (LogConfig) Error

func (log LogConfig) Error(message string)

func (LogConfig) Info

func (log LogConfig) Info(message string)

func (LogConfig) InfoInterface

func (log LogConfig) InfoInterface(data interface{})

type Logger

type Logger interface {
	InfoInterface(data interface{})
	Info(message string)
	Error(message string)
	Debug(message string)
}

Collections is log's collection of function

func GetAppLogger

func GetAppLogger() Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL