logger

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger contains a wrapper around logrus to support a centralized logging config.

Index

Constants

This section is empty.

Variables

View Source
var Logger *logrus.Logger

Logger is the main logger that is abstracted in this package. It is exported here for use with gorm.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

func WithFields

func WithFields(fields logrus.Fields) *logrus.Entry

func Writer

func Writer() *io.PipeWriter

Types

This section is empty.

Jump to

Keyboard shortcuts

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