gokit

package
v0.2.1-0...-f1bfa63 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 5 Imported by: 0

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 NewGKLogger

func NewGKLogger(logger gklog.Logger) log.Logger

NewGKLogger creates a logger based on go-kit logs

func NewGKLoggerStdout

func NewGKLoggerStdout() log.Logger

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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