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...)
}
5-07Add header X-Feed2Imap-GUIDRené 'Necoro' Neumann3-1/+7 2020-05-07update changelogRené 'Necoro' Neumann1-0/+1 2020-05-07FixRené 'Necoro' Neumann1-1/+1 2020-05-07Unified publishedDate and updatedDate into one (just as the old feed2imap...)René 'Necoro' Neumann5-21/+32 2020-05-06Print version during startupRené 'Necoro' Neumann1-1/+1 2020-05-06Improve templateRené 'Necoro' Neumann3-20/+28 2020-05-05Fix pipelineRené 'Necoro' Neumann1-2/+5 2020-05-05Make changelog a part of the release pipeline (untested)René 'Necoro' Neumann2-0/+12