logging/logging_test.go

15 lines
217 B
Go
Raw Permalink Normal View History

2018-03-21 10:04:29 +00:00
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")
}