log

package
v0.0.0-...-8c2bb31 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

Debug prints a message with log level DEBUG.

func DebugWithFields

func DebugWithFields(msg string, fields func(e onelog.Entry))

DebugWithFields prints a message with log level DEBUG and fields.

func Error

func Error(msg string)

Error prints a message with log level ERROR.

func ErrorWithFields

func ErrorWithFields(msg string, fields func(e onelog.Entry))

ErrorWithFields prints a message with log level ERROR and fields.

func Fatal

func Fatal(msg string)

Fatal prints a message with log level FATAL.

func FatalWithFields

func FatalWithFields(msg string, fields func(e onelog.Entry))

FatalWithFields prints a message with log level FATAL and fields.

func Info

func Info(msg string)

Info prints a message with log level Info.

func InfoWithFields

func InfoWithFields(msg string, fields func(e onelog.Entry))

InfoWithFields prints a message with log level INFO and fields.

func Warn

func Warn(msg string)

Warn prints a message with log level INFO.

func WarnWithFields

func WarnWithFields(msg string, fields func(e onelog.Entry))

WarnWithFields prints a message with log level WARN and fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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