fix test app
This commit is contained in:
parent
6d89afc6e3
commit
8515465587
|
@ -15,3 +15,4 @@
|
||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
# vendor/
|
# vendor/
|
||||||
|
|
||||||
|
log/
|
|
@ -4,7 +4,7 @@ import (
|
||||||
logger "git.pyer.club/kingecg/gologger"
|
logger "git.pyer.club/kingecg/gologger"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func aqmain() {
|
||||||
logger.Configure(logger.LoggersConfig{
|
logger.Configure(logger.LoggersConfig{
|
||||||
Categories: map[string]logger.LogConfig{
|
Categories: map[string]logger.LogConfig{
|
||||||
"default": {
|
"default": {
|
||||||
|
@ -40,5 +40,4 @@ func main() {
|
||||||
defaultLogger.Debug("debug again")
|
defaultLogger.Debug("debug again")
|
||||||
fatLogger.Debug("debug again")
|
fatLogger.Debug("debug again")
|
||||||
fatLogger.Error("This is error")
|
fatLogger.Error("This is error")
|
||||||
select {}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue