I am using gocql library https://github.com/gocql/gocql for connecting to cassandra. Can you please help me how can I set the gocqlDebug
flag to true
as I want some debug level logs. gocqlDebug seems to be package private . How do I set it to true?
According to debug_on.go
, you need to build with the gocql_debug
flag:
//go:build gocql_debug
// +build gocql_debug
package gocql
const gocqlDebug = true
I haven't tried it myself but see how you go. Cheers!