# Functions
Auth returns an option you can pass to Event to include identity information, for example the identity type and user/service ID from an inbound HTTP request.
Error returns an option you can pass to Event to attach error information to a log event
It uses error.Error() to stringify the error value
It also includes the error type itself as unstructured log data.
Event logs an event, to STDOUT if possible, or STDERR if not.
HTTP returns an option you can pass to Event to log HTTP request data with a log event.
Middleware implements the logger middleware and captures HTTP request data
It implements http.Handler, and wraps an inbound HTTP request to log useful information including the URL, request start/complete times and duration, status codes, and number of bytes written.
# Constants
ERROR is an option you can pass to Event to specify a severity of ERROR/1.
FATAL is an option you can pass to Event to specify a severity of FATAL/0.
INFO is an option you can pass to Event to specify a severity of INFO/3.
SERVICE represents a service account type.
USER represents a user account type.
WARN is an option you can pass to Event to specify a severity of WARN/2.
# Variables
Namespace is the log namespace included with every log event.
# Structs
EventData is the data structure used for logging an event
It is the top level structure which contains all other log event data.
EventError is the data structure used for logging a error event.
EventHTTP is the data structure used for logging a HTTP event.
EventStackTrace is the data structure used for logging a stack trace.
# Type aliases
Data can be used to include arbitrary key/value pairs in the structured log output.