logging-go/logging_test.go
2018-04-03 17:44:35 +09:00

15 lines
217 B
Go

package logging
import (
"log"
"testing"
)
func TestInitializeLogger(t *testing.T) {
if err := InitializeLogger(""); nil != err {
log.Panicf("Failed %v", err)
}
logger.Infof("Logger has been initialized")
}