mirror of https://github.com/sirupsen/logrus.git
Removed useless files
This commit is contained in:
parent
af6ac8cee6
commit
fa25593b15
|
@ -1,10 +0,0 @@
|
|||
// +build go1.14
|
||||
|
||||
package logrus
|
||||
|
||||
import "runtime"
|
||||
|
||||
// funcName returns the function name that logrus calls
|
||||
func funcName(pcs []uintptr) string {
|
||||
return runtime.FuncForPC(pcs[0]).Name()
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// +build !go1.14
|
||||
|
||||
package logrus
|
||||
|
||||
import "runtime"
|
||||
|
||||
// funcName returns the function name that logrus calls
|
||||
func funcName(pcs []uintptr) string {
|
||||
return runtime.FuncForPC(pcs[1]).Name()
|
||||
}
|
Loading…
Reference in New Issue