update
This commit is contained in:
@@ -22,8 +22,7 @@ func TestLog(t *testing.T) {
|
||||
|
||||
func TestLogFile(t *testing.T) {
|
||||
config := DefaultConfig
|
||||
config.NeedLogFile = false
|
||||
config.LogFilePath = "logs"
|
||||
config.NeedLogFile = true
|
||||
Init("debug", config)
|
||||
|
||||
Debug("time: ", time.Now())
|
||||
|
||||
Reference in New Issue
Block a user