log

package module
v0.0.0-...-bfe5eb4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2015 License: MIT Imports: 1 Imported by: 0

README

logrusow

CircleCI CodeCov Go Report Card GoDoc GitHub license

TL;DR

Convenient log package with Sirupsen/logrus for Golang.

License

Released under the MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHooks

func AddHooks(h ...logrus.Hook)

AddHooks to a logger.

func AddMetadata

func AddMetadata(f logrus.Fields)

AddMetadata adds metadata.

func Debug

func Debug(msg string, fs ...logrus.Fields)

Debug messages writes on logger.Out by async.

func Error

func Error(msg string, err error, fs ...logrus.Fields)

Error messages writes on logger.Out by async.

func Fatal

func Fatal(msg string, err error, fs ...logrus.Fields)

Fatal messages writes on logger.Out.

func Info

func Info(msg string, fs ...logrus.Fields)

Info messages writes on logger.Out by async.

func Panic

func Panic(msg string, err error, fs ...logrus.Fields)

Panic messages writes on logger.Out.

func SetLogger

func SetLogger(l *logrus.Logger)

SetLogger sets a logger for application.

func Warn

func Warn(msg string, fs ...logrus.Fields)

Warn messages writes on logger.Out by async.

Types

This section is empty.

Jump to

Keyboard shortcuts

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