simaqian

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 7

README

simaqian(司马迁)

司马迁,一个伟大的历史记录者

Documentation

Index

Constants

View Source
const (
	LevelDebug = core.LevelDebug
	LevelInfo  = core.LevelInfo
	LevelWarn  = core.LevelWarn
	LevelError = core.LevelError
	LevelPanic = core.LevelPanic
	LevelFatal = core.LevelFatal
)

Variables

This section is empty.

Functions

func Default added in v0.2.1

func Default() (logger core.Logger)

Default 默认日志

func Must

func Must() core.Logger

Must 必须返回日志

func New

func New() *builder.Core

New 创建新的日志

func ParseLevel

func ParseLevel(level string) core.Level

ParseLevel 解析日志级别

Types

type Logger

type Logger = core.Logger

Logger 日志接口

Jump to

Keyboard shortcuts

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