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: 8 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址