diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-23 15:35:45 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-23 15:35:45 -0700 |
| commit | 0da28a1fe47ffc60e40aeca9dddd7ab37e52a999 (patch) | |
| tree | 2e7f29ce2a78632ba263d9ea351d9750a31be622 /hotline/transaction_handlers.go | |
| parent | c6a3fa2cdbf7eb78964a5df7622482cdd8782d74 (diff) | |
Improve logging readability
Diffstat (limited to 'hotline/transaction_handlers.go')
| -rw-r--r-- | hotline/transaction_handlers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go index 735e155..7f29d73 100644 --- a/hotline/transaction_handlers.go +++ b/hotline/transaction_handlers.go @@ -907,6 +907,7 @@ func HandleTranAgreed(cc *ClientConn, t *Transaction) (res []Transaction, err er *cc.Icon = t.GetField(fieldUserIconID).Data cc.logger = cc.logger.With("name", string(cc.UserName)) + cc.logger.Infow("Login successful", "clientVersion", fmt.Sprintf("%x", *cc.Version)) options := t.GetField(fieldOptions).Data optBitmap := big.NewInt(int64(binary.BigEndian.Uint16(options))) |