log

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoogleCloudLoggerClient

func GoogleCloudLoggerClient() (*logging.Client, error)

Types

type Diagnostic

type Diagnostic struct {
	Error       error
	Description string
	Pos         Pos
}

type Diagnostics

type Diagnostics []Diagnostic

func (Diagnostics) HasError

func (d Diagnostics) HasError() bool

func (Diagnostics) Len

func (d Diagnostics) Len() int

func (Diagnostics) Show

func (d Diagnostics) Show()

type GoogleCloudLoggerHook

type GoogleCloudLoggerHook struct {
}

func (GoogleCloudLoggerHook) Fire

func (h GoogleCloudLoggerHook) Fire(entry *logrus.Entry) error

func (GoogleCloudLoggerHook) Levels

func (h GoogleCloudLoggerHook) Levels() []logrus.Level

type NormalHook

type NormalHook struct {
}

func (NormalHook) Fire

func (h NormalHook) Fire(entry *logrus.Entry) error

func (NormalHook) Levels

func (h NormalHook) Levels() []logrus.Level

type Pos

type Pos struct {
	Line   int
	Column int
}

Jump to

Keyboard shortcuts

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