logger

package
v0.0.0-...-af869ec Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

Logger структура логгера.

func New

func New(logLevel string, path string) (*Logger, error)

New конструктор.

func (Logger) Debug

func (l Logger) Debug(msg, pkg string)

Debug отладочные сообщения.

func (Logger) Error

func (l Logger) Error(msg string)

Error сообщения об ошибках.

func (Logger) Info

func (l Logger) Info(msg string)

Info информационные сообщения.

func (Logger) Warn

func (l Logger) Warn(msg string)

Warn предупреждающие сообщения.

Jump to

Keyboard shortcuts

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