Documentation ¶
Index ¶
- func GetBreakerHosts(zkHosts []string) (hosts []string)
- func NewLoggerGorm(slowThreshold time.Duration) logger.Interface
- func StackTrace(deep int) (stack string)
- func StackTracePanic() (stack string)
- type LoggerGorm
- func (l LoggerGorm) Error(_ context.Context, s string, i ...interface{})
- func (l LoggerGorm) Info(_ context.Context, s string, i ...interface{})
- func (l *LoggerGorm) LogMode(level logger.LogLevel) logger.Interface
- func (l LoggerGorm) Trace(_ context.Context, begin time.Time, fc func() (string, int64), err error)
- func (l LoggerGorm) Warn(_ context.Context, s string, i ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBreakerHosts ¶ added in v0.0.3
func StackTrace ¶ added in v0.0.2
func StackTracePanic ¶ added in v0.0.2
func StackTracePanic() (stack string)
Types ¶
Click to show internal directories.
Click to hide internal directories.