Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Deprecated: use cloudtrace.Operation instead. Operation = "logging.googleapis.com/operation" // Deprecated: use cloudtrace.SpanId instead. SpanId = "logging.googleapis.com/spanId" // Deprecated: use cloudtrace.Id instead Id = "logging.googleapis.com/trace" // Deprecated: use cloudtrace.Sampled instead. Sampled = "logging.googleapis.com/trace_sampled" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogEntryOperation ¶
type LogEntryOperation struct {
Id string `json:"id"`
Producer string `json:"producer,omitempty"`
First *bool `json:"first,omitempty"`
Last *bool `json:"last,omitempty"`
}
LogEntryOperation represents the operation field in a log entry. Deprecated: Use cloudtrace.LogEntryOperation instead.
func (LogEntryOperation) MarshalZerologObject ¶
func (o LogEntryOperation) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements the zerolog.LogObjectMarshaler interface. Deprecated: Use cloudtrace.LogEntryOperation.MarshalZerologObject instead.
type TracingContext ¶
type TracingContext struct {
Path string
ClientIP string
RequestID string
Service string
Producer string
}
TracingContext holds tracing information for logging. Deprecated: Use cloudtrace.TracingContext instead.
Click to show internal directories.
Click to hide internal directories.