Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2019 Changes in this version + const SpanFunctionKey + const SpanTitleKey + const TraceIDKey + const UserUUIDKey + const VersionKey + func AddHook(hook Hook) + func Debugf(ctx context.Context, format string, args ...interface{}) + func Errorf(ctx context.Context, format string, args ...interface{}) + func Fatalf(ctx context.Context, format string, args ...interface{}) + func FromTraceIDContext(ctx context.Context) string + func FromUserUUIDContext(ctx context.Context) string + func Infof(ctx context.Context, format string, args ...interface{}) + func NewTraceIDContext(ctx context.Context, traceID string) context.Context + func NewUserUUIDContext(ctx context.Context, userUUID string) context.Context + func Printf(ctx context.Context, format string, args ...interface{}) + func SetFormatter(format string) + func SetLevel(level int) + func SetOutput(out io.Writer) + func SetTraceIDFunc(fn TraceIDFunc) + func SetVersion(v string) + func StartSpanWithCall(ctx context.Context, opts ...SpanOption) func() *Entry + func Warnf(ctx context.Context, format string, args ...interface{}) + type Entry struct + func StartSpan(ctx context.Context, opts ...SpanOption) *Entry + func (e *Entry) Debugf(format string, args ...interface{}) + func (e *Entry) Errorf(format string, args ...interface{}) + func (e *Entry) Fatalf(format string, args ...interface{}) + func (e *Entry) Infof(format string, args ...interface{}) + func (e *Entry) Printf(format string, args ...interface{}) + func (e *Entry) Warnf(format string, args ...interface{}) + func (e *Entry) WithField(key string, value interface{}) *Entry + func (e *Entry) WithFields(fields map[string]interface{}) *Entry + type Hook = logrus.Hook + type Logger = logrus.Logger + func StandardLogger() *Logger + type SpanOption func(*spanOptions) + func SetSpanFuncName(funcName string) SpanOption + func SetSpanTitle(title string) SpanOption + type TraceIDFunc func() string