gokit

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 5 Imported by: 5

Documentation

Overview

Package gokit defines a simple implementation of the logging interface

Index

Constants

This section is empty.

Variables

View Source
var (
	// GKDefaultCaller adds a "caller" property
	GKDefaultCaller = gklog.Caller(callDepth)
	// GKDefaultTimestampUTC adds a "ts" property
	GKDefaultTimestampUTC = gklog.DefaultTimestampUTC
)

Functions

func New

func New() log.Logger

New creates a logger based on go-kit logs but with some default parameters

func NewWrap

func NewWrap(logger gklog.Logger) log.Logger

NewWrap creates a logger based on go-kit logs

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL