package level

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/logger/level"

Index

Constants

const (
	TRACE = Level(iota)
	DEBUG
	INFO
	WARN
	ERROR
	FATAL

	QUIET
)

Types

type Level

type Level int

func FromString

func FromString(l string) Level

func (Level) BoldColor

func (l Level) BoldColor() string

func (Level) Color

func (l Level) Color() string

func (Level) String

func (l Level) String() string

type Mapper

type Mapper interface {
	MapLogLevel(level Level) Level
}

Source Files

level.go

Version
v3.44.0-rc5
Published
Apr 5, 2023
Platform
darwin/amd64
Imports
1 packages
Last checked
13 minutes ago

Tools for package owners.