log/logapi.go
func LogFactory(name string, logType LogType, writer io.Writer) Logger {
	log := &logger{Name: name, LogLevel: minLogLevel, Writer: writer}
	if logType == Lager {
		return NewLager(log)
	}
	return NewLager(log)
}
func LogFactory(name string, logType LogType, writer io.Writer) Logger {
	log := &logger{Name: name, LogLevel: minLogLevel, Writer: writer}
	if logType == Lager {
		return NewLager(log)
	}
	return NewLager(log)
}
//LogFactory - a log creator