# Functions
LogLevelFromString takes a string (not case-sensitive) and returns the equivalent logLevel.
NewAwsHealthCheckHTTPRequestProperties creates an HTTPRequestProperties object for a standard AWS ELB health checker
Path: The path that the health checks are performed on.
NewErrorHTTPResponse generates an HTTPResponse with the correct headers for an error string.
NewHTTPResponse generates an HTTPResponse with the provided data.
NewJSONErrorHTTPResponse generates an HTTPResponse with the correct headers for a JSON encoded error.
NewLogger is constructor for a logger object with initial configuration at the service level Params:
serviceName: A meaningful service name to be associated with all logs opts: Configuration options for the Logger.
NewOpenShiftHealthCheckHTTPRequestProperties creates an HTTPRequestProperties object for a standard OpenShift health checker
Path: The path that the health checks are performed on.
NewStandardHealthCheckHTTPRequestProperties creates a list of HTTPRequestProperties objects for known standard health checkers
Path: The path that the health checks are performed on.
# Structs
HTTPRequestProperties is an entity which contains the properties of an HTTP request.
HTTPResponse is an entity which contains the data to be sent in an HTTP response.
Log struct defines a log object of a request.
Logger struct defines a wrapper for a logger object.
LoggerOpts provides configuration options for the Logger type.
RequestContext defines the context of an HTTP request to be logged.
# Type aliases
LogLevel represents the level of logging to be performed.