15 lines
213 B
Go
15 lines
213 B
Go
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")
|
|
}
|