logutils

package
v0.0.0-...-7c77b90 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(msg string, fields Fields)

Error uses the fields provided and logs

func Info

func Info(msg string, fields Fields)

Info uses the fields provided and logs

func SetLoglevel

func SetLoglevel(level log.Level)

SetLoglevel .. Set Log level

func Warn

func Warn(msg string, fields Fields)

Warn uses the fields provided and logs

Types

type Fields

type Fields map[string]interface{}

Fields is type that will be used by the calling function

Jump to

Keyboard shortcuts

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