gookit / slog

📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能

Home Page:https://pkg.go.dev/github.com/gookit/slog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

日志时间有问题

opdays opened this issue · comments

System (please complete the following information):

  • OS: windows
  • GO Version: 1.16
  • Pkg Version: master

日志时间有问题

A clear and concise description of what the bug is.

To Reproduce

package main

import (
	"github.com/gookit/slog"
	"testing"
	"time"
)

func TestLog(t *testing.T) {
	count := 0
	for {
		slog.Infof("info log %d",count)
		time.Sleep(time.Second)
		count++
	}
}

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots
image

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

感谢报告! 我看看

已经修复了,打了新tag 😃