log

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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 KFilter added in v0.1.18

type KFilter = log.Filter

type KFilterOption added in v0.1.18

type KFilterOption = log.FilterOption

type KHelper added in v0.1.18

type KHelper = log.Helper

type KLevel added in v0.1.18

type KLevel = log.Level

type KLogger added in v0.1.18

type KLogger = log.Logger

type KOption added in v0.1.18

type KOption = log.Option

type KValuer added in v0.1.18

type KValuer = log.Valuer

type KWriterOptionFn added in v0.1.18

type KWriterOptionFn = log.WriterOptionFn

type Logging added in v0.1.18

type Logging struct {
}

Jump to

Keyboard shortcuts

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