diff --git a/profile.go b/profile.go index f4ae0dc..56c8240 100644 --- a/profile.go +++ b/profile.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "github.com/pkg/errors" + "github.com/rs/zerolog/log" "io" "net/http" "sync" @@ -64,5 +65,7 @@ func (s *ProfileService) GetUsername(address string) string { s.cache[address] = name } + log.Debug().Msgf("[PROFILE] %s -> %s", address, s.cache[address]) + return s.cache[address] }