Code Monkey home page Code Monkey logo

alog's People

Contributors

lyrictian avatar yinbaoqiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alog's Issues

在for循环中输出日志会down掉

for{
alog.Debug("Debug info...")
alog.DebugC("Debug console info...")
alog.Info("Info info...")
alog.InfoC("Info console info...")
alog.Warn("Warn info...")
alog.WarnC("Warn console info...")
alog.Error("Error info...")
alog.ErrorC("Error console info...")
alog.Fatal("Fatal info...")
alog.FatalC("Fatal console info...")
}

输出到文件中,跑几秒钟自动结束!

麻烦大佬v1.0.0后面的修复提交打个tag

v1.0.0版本有个致命bug
image
此处不判断error的话,会有空指针风险,导致panic出现。我们今天线上就出现了这个问题。后面对比发现master分支是修复了这个问题的。但是我们使用go mod 拉取的时候默认拉取的最新版本是v1.0.0版本。虽然我们现在在go mod 后面指定了master拉取,更新了版本。但是为了以防后来者也出现这个问题,麻烦作者有时间打个新版本的tag。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.