# Functions
NewClient creates a new client using the given options, the client may communicate using basic/cert auth depending on the auth provider/tls config provided.
NewService creates a new service using the given options.
# Constants
EndpointPostEvent is the endpoint used to 'POST' events.
MaxBufferedEventsPerDispatcher is the default number of events (and minimum) number of events that can be buffered per-goroutine.
MaxEncodedLength is the maximum size of the JSON encoded event.
SeverityError is the 'error' level, describing error scenarios where something has failed/occurred that shouldn't happen during normal execution.
SeverityFatal is the 'fatal' level, describing an error case which is unrecoverable.
SeverityInfo is the 'info' level, describing something that occurs during normal execution and is therefore expected.
SeverityWarn is the 'warn' level, describing something that's normal (or perhaps rare/unexpected).
# Variables
ErrTooLarge returned if the encoded event payload is larger than 3KiB.
# Structs
Client is a wrapper around the 'cbrest' client which implements the required methods to log events.
Event represents an event, and is the structure which will be used when reporting events using a 'Service'.
Service exposes an interface to report events to the local 'ns_server' instance.
ServiceOptions encapsulates the options available when creating a new event log service.
# Type aliases
Component represents to component which is reporting this event, for a complete list of supported components see MB-47035 and its parent.
EventID is the unique identifier of the event type, currently each service is apportioned 1024 event ids.
Severity represents the severity of an event.