log

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 2 Imported by: 54 modules, 6 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

日志

编译状态 Golang质量 版本 仓库大小 最后提交 授权协议 语言个数 最佳语言 星星个数

日志记录基础封装,提供基本的日志记录接口以及其它可被复用的基本概念(比如日志级别),其它日志实现可以通过引用本仓库实现对应接口来实现日志的接入

捐助

支持宝 微信

感谢Jetbrains

本项目通过Jetbrains开源许可IDE编写源代码,特此感谢

Jetbrains图标

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 New added in v0.0.3

func New() *builder.Logger

New 创建

func ParseLevel

func ParseLevel(level string) core.Level

ParseLevel 解析日志级别

Types

type Executor added in v0.0.5

type Executor = core.Executor

Executor 执行器

type Level

type Level = core.Level

Level 日志级别

type Logger

type Logger = core.Logger

Logger 日志接口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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