snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
14
logger/logger_test.go
Normal file
14
logger/logger_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package logger_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/traggo/server/logger"
|
||||
)
|
||||
|
||||
func TestInit_LoggingWorks(t *testing.T) {
|
||||
logger.Init(zerolog.InfoLevel)
|
||||
log.Info().Msg("test logging")
|
||||
}
|
||||
Reference in New Issue
Block a user