log

package
Version: v0.0.0-...-c4d1cd5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultLogger

type DefaultLogger struct{}

DefaultLogger is the default logger used to log panics that occur durring query execution

func (*DefaultLogger) LogPanic

func (l *DefaultLogger) LogPanic(_ context.Context, value interface{})

LogPanic is used to log recovered panic values that occur durring query execution

type Logger

type Logger interface {
	LogPanic(ctx context.Context, value interface{})
}

Logger is the interface used to log panics that occur durring query execution. It is setable via graphql.ParseSchema

Source Files

Jump to

Keyboard shortcuts

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