worryg0d commented on code in PR #1920:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1920#discussion_r2632034263


##########
logger.go:
##########
@@ -162,7 +162,8 @@ func (l *defaultLogger) Debug(msg string, fields 
...LogField) {
 func (l *defaultLogger) write(prefix string, msg string, fields []LogField) {
        buf := bytes.Buffer{}
        writeLogMsg(&buf, prefix, msg, fields)
-       log.Println(buf.String())
+       // During testing it allows seeing where exactly logging methods are 
called instead of this method
+       log.Output(3, buf.String())

Review Comment:
   Oh, I assumed that this for testing purpose only... Well if this is the case 
I'm going to revert this change. But it would actually useful to see the exact 
caller...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to