in debug/debug_windows.go [48:62]
func SendEventsToLog(logfileNameId string, msg string, msgType string, delay time.Duration) {
filename := fmt.Sprintf("%s-%s.log", containerName, logfileNameId)
file := filepath.Join(logFileDir, filename)
configStr := fmt.Sprintf(SEE_LOG_CONFIG_TEMPLATE, file, int(MAX_FILE_SIZE*1000000), MAX_ROLLS)
fileLogger, _ = seelog.LoggerFromConfigAsString(configStr)
switch msgType {
case "err":
fileLogger.Error(msg)
case "info":
fileLogger.Info(msg)
case "debug":
fileLogger.Debug(msg)
}
time.Sleep(delay * time.Second)
}