func NewDailyLogger(fileDir, fileName, prefix string, logScan int64, logSeq int) *FileLogger {
	dailyLogger := &FileLogger{
		splitType:  SplitType_Daily,
		mu:         new(sync.RWMutex),
		fileDir:    fileDir,
		fileName:   fileName,
		prefix:     prefix,
		logScan:    logScan,
		logChan:    make(chan string, logSeq),
		logLevel:   DEFAULT_LOG_LEVEL,
		logConsole: false,
	}

	dailyLogger.initLogger()

	return dailyLogger
}
func NewDailyLogger(fileDir, fileName, prefix string, logScan int64, logSeq int) *FileLogger {
	dailyLogger := &FileLogger{
		splitType:  SplitType_Daily,
		mu:         new(sync.RWMutex),
		fileDir:    fileDir,
		fileName:   fileName,
		prefix:     prefix,
		logScan:    logScan,
		logChan:    make(chan string, logSeq),
		logLevel:   DEFAULT_LOG_LEVEL,
		logConsole: false,
	}

	dailyLogger.initLogger()

	return dailyLogger
}
func NewDailyLogger ( fileDir , fileName , prefix string , logScan int64 , logSeq int ) * FileLogger { dailyLogger := & FileLogger { splitType : SplitType_Daily , mu : new ( sync . RWMutex ) , fileDir : fileDir , fileName : fileName , prefix : prefix , logScan : logScan , logChan : make ( chan string , logSeq ) , logLevel : DEFAULT_LOG_LEVEL , logConsole : false , } dailyLogger . initLogger ( ) return dailyLogger }
// NewDailyLogger return a logger split by daily
// Parameters:
// 		file directory
// 		file name
// 		log's prefix
NewDailyLogger return a logger split by daily Parameters : file directory file name log s prefix