summaryrefslogtreecommitdiff
path: root/internal/email/noopsender.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/email/noopsender.go')
-rw-r--r--internal/email/noopsender.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/email/noopsender.go b/internal/email/noopsender.go
index 9aab1ca41..4f4aa2014 100644
--- a/internal/email/noopsender.go
+++ b/internal/email/noopsender.go
@@ -22,8 +22,8 @@ import (
"bytes"
"text/template"
- "github.com/sirupsen/logrus"
"github.com/superseriousbusiness/gotosocial/internal/config"
+ "github.com/superseriousbusiness/gotosocial/internal/log"
)
// NewNoopSender returns a no-op email sender that will just execute the given sendCallback
@@ -61,7 +61,7 @@ func (s *noopSender) SendConfirmEmail(toAddress string, data ConfirmData) error
return err
}
- logrus.Tracef("NOT SENDING confirmation email to %s with contents: %s", toAddress, msg)
+ log.Tracef("NOT SENDING confirmation email to %s with contents: %s", toAddress, msg)
if s.sendCallback != nil {
s.sendCallback(toAddress, string(msg))
@@ -81,7 +81,7 @@ func (s *noopSender) SendResetEmail(toAddress string, data ResetData) error {
return err
}
- logrus.Tracef("NOT SENDING reset email to %s with contents: %s", toAddress, msg)
+ log.Tracef("NOT SENDING reset email to %s with contents: %s", toAddress, msg)
if s.sendCallback != nil {
s.sendCallback(toAddress, string(msg))