package
Version:
v0.0.0-...-660a5ed
Opens a new window with list of versions in this module.
Published: Sep 23, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Field struct {
Key string `xml:"key,omitempty"`
Val interface{} `xml:"value,omitempty"`
}
Field type designates how a metadata element should be displayed, in XML
As such, each mapped item in an event.Event's metadata will be converted to
an object containing key / value elements.
Mappify function will take in a metadata map[string]interface{}, and convert it
into a slice of (XML) Fields.
FmtXML struct describes the different manipulations and processing that a XML LogFormatter
can apply to an event.Event
Format method will take in a pointer to an event.Event; and returns a buffer and an error.
This method will process the input event.Event and marshal it according to this LogFormatter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.