# Functions
Background is analog of standard context.Context which returns just a simple dummy context which does nothing.
Extend converts a standard context to an extended one.
LoggerFrom returns a logger from a context.Context if can find any.
NewContext is a customizable constructor of a context.
NewTraceID returns a new random unique TraceID.
WithCancel is analog of context.WithCancel, but with support of the extended Context.
WithDeadline is analog of context.WithDeadline, but with support of the extended Context..
WithNotify is analog WithCancel, but does a notification signal instead (which does not close the context).
WithResetSignalers resets all signalers (cancelers and notifiers).
WithStdContext adds events and values of a standard context.
WithTimeout is analog of context.WithTimeout, but with support of the extended Context.
WithValue is analog of of context.WithValue but for extended context.
# Variables
DefaultLogHostname defines if hostname should be logged by default.
DefaultLogTraceID defines if traceID should be logged by default.
DefaultLogUsername defines if hostname should be logged by default.
ErrCanceled is returned by Context.Err when the context was canceled.
ErrDeadlineExceeded is returned by Context.Err when the context reached the deadline.
ErrPaused is returned by Context.Err when the context was paused.
# Type aliases
No description provided by the author
Fields is a multiple of fields which are attached to logger/tracer messages.
Logger is an abstract logger used by a Context.
Metrics is a handler of metrics (like Prometheus, ODS).
TraceID is a passthrough ID used to track a sequence of events across multiple processes/services.