Versions in this module Expand all Collapse all v1 v1.9.0 May 21, 2023 Changes in this version + var DefaultLogConfig = Config + func Context(ctx context.Context) *request + func Debug(i ...interface{}) + func Debugf(format string, i ...interface{}) + func Error(i ...interface{}) + func Errorf(format string, i ...interface{}) + func Fatal(i ...interface{}) + func Fatalf(msg string, i ...interface{}) + func GetCaller(level string, skip int) string + func Info(i ...interface{}) + func Infof(format string, i ...interface{}) + func Init() + func InitWithConfig(cfg Config) + func NewRequest() *request + func Tracing(processId, url, method string, resCode int, resPayload []byte, ...) + func Warn(i ...interface{}) + func Warnf(format string, i ...interface{}) + type Config struct + FileFormat string + FileLogName string + Location string + LogToTerminal bool + MaxAge int + RotationFile int + UseStackTrace bool