Documentation
¶
Overview ¶
Package logger provides structured logging for Nebula
Index ¶
- Constants
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func Get() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func Init(cfg Config) error
- func Sync() error
- func Warn(msg string, fields ...zap.Field)
- func With(fields ...zap.Field) *zap.Logger
- func WithContext(ctx context.Context) *zap.Logger
- type Config
Constants ¶
View Source
const ( // RequestIDKey is the context key for request ID RequestIDKey contextKey = "request_id" // ConnectorKey is the context key for connector name ConnectorKey contextKey = "connector" // JobIDKey is the context key for job ID JobIDKey contextKey = "job_id" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.