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.42.12
Published
Mar 3, 2023
Platform
windows/amd64
Imports
1 packages
Last checked
2 seconds ago

Tools for package owners.