logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() cronenberg.Logger

Types

type Formatter

type Formatter struct{}

func (*Formatter) Format

func (formatter *Formatter) Format(entry *logrus.Entry) ([]byte, error)

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func (*Logger) Error

func (logger *Logger) Error(context string, message string)

func (*Logger) Info

func (logger *Logger) Info(context string, message string)

Jump to

Keyboard shortcuts

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