Skip to content

Commit d9668fe

Browse files
committed
feat: log for generate user agent
1 parent 2c635e2 commit d9668fe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/adapters/infrastructure/identity.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package infrastructure
22

33
import (
44
"fmt"
5+
"log/slog"
56
"math/rand/v2"
67

78
"github.com/LXSCA7/gorimpo/internal/core/domain"
@@ -19,6 +20,7 @@ func NewRandomUAFactory(count int) *RandomUAFactory {
1920
if count == 0 {
2021
count = 3
2122
}
23+
slog.Info("🤖 Generating user agents...", "count", count)
2224
f.identities = make([]domain.UserAgent, count)
2325
f.generate(count)
2426
return f

0 commit comments

Comments
 (0)