aboutsummaryrefslogtreecommitdiff
path: root/internal/util/util.go
blob: 54a0805a04d5171524fdff648a62cf4c93054741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package util

import (
	"log"
	"os"
)

var errorLogger = log.New(os.Stderr, "ERROR ", log.LstdFlags|log.Lmsgprefix)

func Error(v ...interface{}) {
	errorLogger.Print(v...)
}

//noinspection GoUnusedExportedFunction
func Errorf(format string, a ...interface{}) {
	errorLogger.Printf(format, a...)
}
e config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli4-28/+29 2006-12-11Avoid infinite loops in caching layerLars Hjemli3-14/+31 2006-12-11Let 'make install' clear all cachefilesLars Hjemli1-0/+2 2006-12-11Fix cache algorithm loopholeLars Hjemli3-11/+16 2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 2006-12-10Add caching infrastructureLars Hjemli9-28/+353