Documentation ¶
Index ¶
- func DPanic(log string, fields ...zapcore.Field)
- func DPanicWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func DPanicWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Debug(log string, fields ...zapcore.Field)
- func DebugWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func DebugWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Error(log string, fields ...zapcore.Field)
- func ErrorWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func ErrorWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Fatal(log string, fields ...zapcore.Field)
- func FatalWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func FatalWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Info(log string, fields ...zapcore.Field)
- func InfoWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func InfoWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Panic(log string, fields ...zapcore.Field)
- func PanicWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func PanicWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
- func Warn(log string, fields ...zapcore.Field)
- func WarnWithContext(ctx context.Context, log string, fields ...zapcore.Field)
- func WarnWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DPanicWithContext ¶
DPanicWithContext logs on dPanic level and trace based on the context span if it exists
func DPanicWithSpan ¶
func DPanicWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
DPanicWithSpan logs on dPanic level and add the logs on the trace if span exists.
func DebugWithContext ¶
DebugWithContext logs on debug level and trace based on the context span if it exists
func DebugWithSpan ¶
func DebugWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
DebugWithSpan logs on debug level and add the logs on the trace if span exists.
func ErrorWithContext ¶
ErrorWithContext logs on error level and trace based on the context span if it exists
func ErrorWithSpan ¶
func ErrorWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
ErrorWithSpan logs on error level and add the logs on the trace if span exists.
func FatalWithContext ¶
FatalWithContext logs on fatal level and trace based on the context span if it exists
func FatalWithSpan ¶
func FatalWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
FatalWithSpan logs on fatal level and add the logs on the trace if span exists.
func InfoWithContext ¶
InfoWithContext logs on info level and trace based on the context span if it exists
func InfoWithSpan ¶
func InfoWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
InfoWithSpan logs on info level and add the logs on the trace if span exists.
func PanicWithContext ¶
PanicWithContext logs on panic level and trace based on the context span if it exists
func PanicWithSpan ¶
func PanicWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
PanicWithSpan logs on panic level and add the logs on the trace if span exists.
func WarnWithContext ¶
WarnWithContext logs on warn level and trace based on the context span if it exists
func WarnWithSpan ¶
func WarnWithSpan(span opentracing.Span, log string, fields ...zapcore.Field)
WarnWithSpan logs on warn level and add the logs on the trace if span exists.
Types ¶
This section is empty.