Compare commits

..

No commits in common. "master" and "v1.0.8" have entirely different histories.

3 changed files with 5 additions and 8 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module git.kingecg.top/kingecg/gologger
module git.pyer.club/kingecg/gologger
go 1.19

View File

@ -57,11 +57,9 @@ type LoggersConfig struct {
Appenders map[string]LogAppenderConfig `json:"appenders"`
Categories map[string]LogConfig `json:"categories"`
}
// Logger represents a logger instance for a specific category.
// It maintains the log level and appenders for that category.
// Example:
//
// logger := GetLogger("mycategory")
// logger.Info("This is an info message")
// logger.Error("This is an error message")
@ -205,5 +203,4 @@ func RegistAppender(typeName string, appenderCreatCb func(LogAppenderConfig) *Lo
func init() {
loggerMap["default"] = defaultLogger
appenders["console"] = &consoleAppender
}

View File

@ -1,7 +1,7 @@
package main
import (
logger "git.kingecg.top/kingecg/gologger"
logger "git.pyer.club/kingecg/gologger"
)
func aqmain() {