log

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 1 Imported by: 4

Documentation

Overview

Package log implements the functions, types, and interfaces for the module.

Package log implements the functions, types, and interfaces for the module.

Index

Constants

View Source
const (
	LevelKey   = log.LevelKey
	LevelDebug = log.LevelDebug
	LevelInfo  = log.LevelInfo
	LevelWarn  = log.LevelWarn
	LevelError = log.LevelError
	LevelFatal = log.LevelFatal
)

Variables

View Source
var (
	DefaultLogger     = log.DefaultLogger
	DefaultCaller     = log.DefaultCaller
	DefaultTimestamp  = log.DefaultTimestamp
	DefaultMessageKey = log.DefaultMessageKey
)
View Source
var (
	With                = log.With
	WithContext         = log.WithContext
	NewStdLogger        = log.NewStdLogger
	ParseLevel          = log.ParseLevel
	Value               = log.Value
	Caller              = log.Caller
	Timestamp           = log.Timestamp
	FilterLevel         = log.FilterLevel
	FilterKey           = log.FilterKey
	FilterValue         = log.FilterValue
	FilterFunc          = log.FilterFunc
	NewFilter           = log.NewFilter
	SetLogger           = log.SetLogger
	GetLogger           = log.GetLogger
	Log                 = log.Log
	Context             = log.Context
	Debug               = log.Debug
	Debugf              = log.Debugf
	Debugw              = log.Debugw
	Info                = log.Info
	Infof               = log.Infof
	Infow               = log.Infow
	Warn                = log.Warn
	Warnf               = log.Warnf
	Warnw               = log.Warnw
	Error               = log.Error
	Errorf              = log.Errorf
	Errorw              = log.Errorw
	Fatal               = log.Fatal
	Fatalf              = log.Fatalf
	Fatalw              = log.Fatalw
	WithMessageKey      = log.WithMessageKey
	WithSprint          = log.WithSprint
	WithSprintf         = log.WithSprintf
	NewHelper           = log.NewHelper
	WithWriterLevel     = log.WithWriterLevel
	WithWriteMessageKey = log.WithWriteMessageKey
	NewWriter           = log.NewWriter
)

Functions

This section is empty.

Types

type Filter

type Filter = log.Filter

type FilterOption

type FilterOption = log.FilterOption

type Helper

type Helper = log.Helper

type Level

type Level = log.Level

type Logger

type Logger = log.Logger

type Option

type Option = log.Option

type Valuer

type Valuer = log.Valuer

type WriterOptionFn

type WriterOptionFn = log.WriterOptionFn

Jump to

Keyboard shortcuts

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