logger

package
v6.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w io.Writer, options LogOptions) restql.Logger

New constructs a zeroLogger instance.

Types

type LogOptions

type LogOptions struct {
	Enable               bool
	TimestampFieldName   string
	TimestampFieldFormat string
	Level                string
	Format               string
}

LogOptions represents available logging configurations

Jump to

Keyboard shortcuts

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