Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 249 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 249 Bytes

Go Log

Example

package main

import (
	"github.com/juliengk/go-log"
	"github.com/juliengk/go-log/driver"
)

func main() {
	l, _ := log.NewDriver("standard", nil)

	l.WithFields(driver.Fields{
		"user": "root",
	}).Info("some info")
}