slaventius@odnookno.info 2 years ago
parent 8529690e15
commit bf21e20577
  1. 1
      pkg/logger/logger.go

@ -14,6 +14,7 @@ type Logger struct {
func NewLogger(appSource string, dsn string) *Logger {
logger := logrus.New()
logger.SetReportCaller(true) // Добавим отображение строки
//
if dsn == "" {

Loading…
Cancel
Save