Task Attachments (#104)
This commit is contained in:
4
vendor/github.com/swaggo/swag/debug.go
generated
vendored
4
vendor/github.com/swaggo/swag/debug.go
generated
vendored
@ -15,14 +15,14 @@ func isRelease() bool {
|
||||
return swagMode == release
|
||||
}
|
||||
|
||||
//Println calls Output to print to the standard logger when release mode.
|
||||
// Println calls Output to print to the standard logger when release mode.
|
||||
func Println(v ...interface{}) {
|
||||
if isRelease() {
|
||||
log.Println(v...)
|
||||
}
|
||||
}
|
||||
|
||||
//Printf calls Output to print to the standard logger when release mode.
|
||||
// Printf calls Output to print to the standard logger when release mode.
|
||||
func Printf(format string, v ...interface{}) {
|
||||
if isRelease() {
|
||||
log.Printf(format, v...)
|
||||
|
Reference in New Issue
Block a user