log

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log implements a common structured logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string) (e log.Entry)

Debug creates a new log entry with the given message using the package level logger.

func Error

func Error(message string) (e log.Entry)

Error creates a new log entry with the given message using the package level logger.

func Info

func Info(message string) (e log.Entry)

Info creates a new log entry with the given message using the package level logger.

func Init

func Init(level string) (err error)

Init logger

func Warn

func Warn(message string) (e log.Entry)

Warn creates a new log entry with the given message using the package level logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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