summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-openapi/runtime/logger/standard.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-openapi/runtime/logger/standard.go')
-rw-r--r--vendor/github.com/go-openapi/runtime/logger/standard.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/github.com/go-openapi/runtime/logger/standard.go b/vendor/github.com/go-openapi/runtime/logger/standard.go
deleted file mode 100644
index 30035a777..000000000
--- a/vendor/github.com/go-openapi/runtime/logger/standard.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package logger
-
-import (
- "fmt"
- "os"
-)
-
-var _ Logger = StandardLogger{}
-
-type StandardLogger struct{}
-
-func (StandardLogger) Printf(format string, args ...interface{}) {
- if len(format) == 0 || format[len(format)-1] != '\n' {
- format += "\n"
- }
- fmt.Fprintf(os.Stderr, format, args...)
-}
-
-func (StandardLogger) Debugf(format string, args ...interface{}) {
- if len(format) == 0 || format[len(format)-1] != '\n' {
- format += "\n"
- }
- fmt.Fprintf(os.Stderr, format, args...)
-}