/logger

go logger

Primary LanguageGoMIT LicenseMIT

logger

logger 基于zap的封装

Use Cases

package main

import "github.com/yanghp/logger"

func main() {
    log:= logger.New(logger.NewOptions())
    
    log.Debug("this is debug message")
    log.Info("this is info message")
    log.Warn("this is warn message")
    log.Error("this is error message")
}