Versions in this module Expand all Collapse all v0 v0.4.0 Aug 15, 2023 v0.3.0 Dec 4, 2022 Changes in this version + const FieldAwsRegion + const FieldErrorCode + const FieldErrorMessage + const FieldEventID + const FieldEventName + const FieldEventSource + const FieldEventTime + const FieldEventType + const FieldRecipientAccountID + const FieldUserIdentityArn + const TypeJson + const TypeTable + var FieldAccessors map[string]FieldAccessor = map[string]FieldAccessor + type FieldAccessor func(r *trail.Record) string + type Json struct + func NewJson(o Options) *Json + func (o *Json) Type() string + func (o *Json) Write(w io.Writer, r *trail.Record) error + func (o Json) Flush() error + type Options struct + ErrorsOnly bool + Fields []string + type Output interface + Flush func() error + Type func() string + Write func(w io.Writer, r *trail.Record) error + type RecordFieldResolver struct + func NewRecordValueAccessor(r *trail.Record) RecordFieldResolver + func (r RecordFieldResolver) Value(field string) string + type Table struct + func NewTable(w io.Writer, o Options) *Table + func (o *Table) Flush() error + func (o *Table) Type() string + func (o *Table) Write(w io.Writer, r *trail.Record) error