logger

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

дублирует все функции логгера logrus

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallerPrettyfier

func CallerPrettyfier(frame *runtime.Frame) (function string, file string)

CallerPrettyfier - форматирует имя файла и номер строки кода

func GetLog

func GetLog() *logrus.Logger

GetLog - возвращает глобальный логгер приложения и создаёт логгер если ещё не создан

func SetLevel

func SetLevel(LOG_LEVEL string)

SetLevel - изменяет уровень логирования

Types

This section is empty.

Jump to

Keyboard shortcuts

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