func WriteResponse(remoteAddr, localAddr, executionTime string) {
	WriteDebug(`>> ` + remoteAddr + " was served by " + localAddr + " in " + executionTime)
}
WriteResponse proceeds to write a response in the log
package logs
import (
	"fmt"
	"log"
	"os"
	"pfg/src/server/config"
	"time"
)
var (
	Log *log.Logger
)
func init() {
	time := time.Now()
	timeformat := time.Format("2006.01.02_15.04.05")  
	var logpath = config.LogRoot + "/" + timeformat + ".log"
	var logfile, err = os.Create(logpath)
	if err != nil {
		panic(err)  
	}
	Log = log.New(logfile, "", 0)  
}
func write(line string) {
	fmt.Println(line)
	Log.Println(line)
}
func WriteDebug(line string) {
	if config.LoggingLevel == "debug" {
		write("DEBUG " + line)
	}
}
func WriteBasic(line string) {
	if config.LoggingLevel == "basic" || config.LoggingLevel == "debug" {
		write("INFO " + line)
	}
}
func WriteError(line string) {
	write("ERROR " + line)
}
func WriteRequest(remoteAddr, method, host, requestURI, proto string) {
	WriteBasic(`<< ` + remoteAddr + ` - - [` + time.Now().Truncate(0).String() + `] "` + method + ` ` + host + requestURI + ` ` + proto + `"`)
	addRequest()
}