|
|
@@ -5,7 +5,6 @@ import (
|
|
|
"go.uber.org/zap/zapcore"
|
|
|
"os"
|
|
|
"path/filepath"
|
|
|
- "runtime/debug"
|
|
|
"strings"
|
|
|
"sync"
|
|
|
)
|
|
|
@@ -75,7 +74,7 @@ func Info(serviceName string, funcName string, callName string, message string)
|
|
|
func Error(serviceName string, funcName string, callName string, message string) {
|
|
|
lazyInitialize()
|
|
|
callerFields := getCallerInfoForLog(serviceName, funcName, callName)
|
|
|
- logger.Error(message+"\n"+string(debug.Stack()), callerFields...)
|
|
|
+ logger.Error(message, callerFields...)
|
|
|
}
|
|
|
|
|
|
func Debug(serviceName string, funcName string, callName string, message string) {
|