log-go/log_test.go

15 lines
213 B
Go
Raw Normal View History

2018-08-22 07:29:27 +00:00
package log
import (
"log"
"testing"
)
func TestInitializeLogger(t *testing.T) {
if err := InitializeLogger(""); nil != err {
log.Panicf("Failed %v", err)
}
logger.Infof("Logger has been initialized")
}