Skip to content

adzr/gocql

 
 

Repository files navigation

gocql

A fork of project gocql that uses coreos go-log for logging.

Get the package:

go get github.com/cluehub/gocql

Then just set your logger and you're ready to go:

package main

import (
	"github.com/cluehub/gocql"
	"github.com/coreos/go-log/log"
)

func init() {
	gocql.Logger = log.NewSimple(log.JournalSink())
}

For more information on the project, please refer to the original project https://github.com/gocql/gocql.

For more logging options, please refer to project coreos go-log to get more details.

About

A fork of project gocql that uses coreos go-log for logging.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.3%
  • HTML 1.1%
  • Shell 0.6%