1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-06-17 22:37:33 +02:00

Presets 🎉

This commit is contained in:
DarthSim
2018-09-07 23:41:06 +06:00
parent 9efba7bf55
commit a157a818f6
4 changed files with 133 additions and 12 deletions

View File

@ -2,6 +2,7 @@ package main
import (
"fmt"
"log"
"runtime"
"strings"
)
@ -43,3 +44,7 @@ func stacktrace(skip int) string {
return strings.Join(lines, "\n")
}
func warning(f string, args ...interface{}) {
log.Printf("[WARNING] %s", fmt.Sprintf(f, args...))
}