log

package
v0.0.0-...-9135915 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unsafe

func Unsafe(ie InfoErrorLogger) *ignoringInfoError

Types

type ErrorLogger

type ErrorLogger interface {
	Error(...interface{}) error
}

type InfoErrorLogger

type InfoErrorLogger interface {
	InfoLogger
	ErrorLogger
}

type InfoLogger

type InfoLogger interface {
	Info(...interface{}) error
}

type MultiInfoError

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

func Multi

func Multi(loggers ...InfoErrorLogger) *MultiInfoError

func (*MultiInfoError) Error

func (l *MultiInfoError) Error(args ...interface{}) error

func (*MultiInfoError) Info

func (l *MultiInfoError) Info(args ...interface{}) error

type PropagateInfoError

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

func NewPropagateInfoError

func NewPropagateInfoError(main InfoErrorLogger, insurers ...ErrorLogger) *PropagateInfoError

func (*PropagateInfoError) Error

func (l *PropagateInfoError) Error(args ...interface{}) error

func (*PropagateInfoError) Info

func (l *PropagateInfoError) Info(args ...interface{}) error

type UnsafeErrorLogger

type UnsafeErrorLogger interface {
	Error(...interface{})
}

type UnsafeInfoErrorLogger

type UnsafeInfoErrorLogger interface {
	UnsafeInfoLogger
	UnsafeErrorLogger
}

type UnsafeInfoLogger

type UnsafeInfoLogger interface {
	Info(...interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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