Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is an implementation of logs.LogRecordSyncer that writes spans to stdout.
func NewExporter ¶
NewExporter creates an Exporter with the passed options.
func (*Exporter) MarshalLog ¶
func (e *Exporter) MarshalLog() interface{}
MarshalLog is the marshaling function used by the logging system to represent this exporter.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option sets the value of an option for a Config.
func WithPrettyPrint ¶
func WithPrettyPrint() Option
WithPrettyPrint sets the export stream format to use JSON.
func WithWriter ¶
WithWriter sets the export stream destination.
Click to show internal directories.
Click to hide internal directories.