Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/teltechsystems/logging-sql-driver

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/teltechsystems/logging-sql-driver

  • v0.0.0-20150429162913-5a0d2a2dce51
  • Source
  • Go
  • Socket score

Version published
Created
Source

Logging SQL Driver

This driver is intended to wrap around existing sql drivers to provide logging functionality. This is great for timing queries, inspecting arguments, and quickly peeking at the actual results without needing to log them on your own

Usage

package main

import (
	"database/sql"
	"fmt"
	_ "github.com/teltechsystems/logging-sql-driver"
)

func main() {
	conn, err := sql.Open("logging:mysql", "DSN")
	fmt.Printf("conn: %s", conn)
	fmt.Printf("err: %s", err)
	defer conn.Close()

	// ....
}

FAQs

Package last updated on 29 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc