logger

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 7 Imported by: 3

README

logger

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
}

func New

func New(cfg service.Config, durationUpdate *time.Duration) *Logger

Сервис логирования

func (*Logger) Create

func (lg *Logger) Create(name string) *service.LoggerService

Создание нового сервиса логирования

func (*Logger) FileUpdate

func (lg *Logger) FileUpdate(now bool, durationUpdate *time.Duration) (err error)

Смена и очистка лог файла через указанное время

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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