From 5eab3cad6255b7cc86496964b719029a343c6c8d Mon Sep 17 00:00:00 2001 From: Andrey Ivanov Date: Fri, 25 Sep 2020 13:28:49 +0300 Subject: [PATCH] HW12 completed --- hw12_13_14_15_calendar/internal/logger/logger.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw12_13_14_15_calendar/internal/logger/logger.go b/hw12_13_14_15_calendar/internal/logger/logger.go index 172ae8d..b2482dc 100644 --- a/hw12_13_14_15_calendar/internal/logger/logger.go +++ b/hw12_13_14_15_calendar/internal/logger/logger.go @@ -44,23 +44,23 @@ func New(conf config.Config) (Interface, error) { return l, nil } -func (l Logger) Debugf(format string, args ...interface{}) { +func (l *Logger) Debugf(format string, args ...interface{}) { l.Logger.Debugf(format, args) } -func (l Logger) Infof(format string, args ...interface{}) { +func (l *Logger) Infof(format string, args ...interface{}) { l.Logger.Infof(format, args) } -func (l Logger) Warnf(format string, args ...interface{}) { +func (l *Logger) Warnf(format string, args ...interface{}) { l.Logger.Warnf(format, args) } -func (l Logger) Errorf(format string, args ...interface{}) { +func (l *Logger) Errorf(format string, args ...interface{}) { l.Logger.Errorf(format, args) } -func (l Logger) Fatalf(format string, args ...interface{}) { +func (l *Logger) Fatalf(format string, args ...interface{}) { l.Logger.Fatalf(format, args) os.Exit(2) }