Skip to content

一个可以显示文件行数,和颜色的log系统,基于golang

License

Notifications You must be signed in to change notification settings

dashjay/logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logging

一个可以显示文件行数,和颜色的log系统,基于golang

Usage

// import
import (
    "github.com/dashjay/logging"
)
// Usage

    logging.Info("info test")
    logging.Debug("debug test")
    logging.Error("error test")
    // 这个Fatal会触发fatal,程序会停止
    // logging.Fatal call log.Fatal,the main process will exit
    // logging.Fatal("fatal test") 
    logging.Warn("warn test")
    logging.Info("sso server start")

Preview

Preview

代码部分来源于

About

一个可以显示文件行数,和颜色的log系统,基于golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages