Acc() returns a Lager object.
Add/update Lager key/value pairs to/in a context.Context.
AutoLock() can be used on any sync.Locker (anything with Lock and Unlock methods, like a *sync.Mutex).
Fetches the lager key/value pairs stored in a context.Context.
Debug() returns a Lager object.
Exit() returns a Lager object that writes to os.Stderr, incorporating pairs from any contexts passed in, then calls os.Exit(1).
ExitNotExpected(true) causes any subsequent uses of lager.Exit() to include a full stack trace.
ExitViaPanic() improves the way lager.Exit() works so that uses of it in inappropriate places are less problematic.
Fail() returns a Lager object.
GcpContextAddTrace() takes a Context and returns one that has the span added as 2 pairs that will be logged and recognized by GCP when that Context is passed to lager.Warn() or similar methods.
GcpContextReceivedRequest() does several things that are useful when a server receives a new request.
GcpContextSendingRequest() does several things that are useful when a server is about to send a request to a dependent service.
GcpFakeResponse() creates an http.Response suitable for passing to GcpHttp() [or similar] when you just have a status code (and/or a response size) and not a http.Response.
GcpFinishSpan() updates a span with the status information from a http.Response and Finish()es the span (which registers it with GCP).
GcpHtttp() returns a value for logging that GCP will recognize as details about an HTTP(S) request (and perhaps its response), if placed under the key "httpRequest".
GcpHttpF() can be used for logging just like GcpHttp(), it just returns a function so that the work is only performed if the logging level is enabled.
GcpLevelName takes a Lager level name (only the first letter matters and it must be upper case) and returns the corresponding value GCP uses in structured logging to represent the severity of such logs.
GcpLogAccess() creates a standard "access log" entry.
GcpProjectID() returns the current GCP project ID [which is not the project number].
GcpReceivedRequest() gets the Context from '*pReq' and uses it to call GcpContextReceivedRequest().
GcpReceivedResponse() combines GcpLogAccess() and GcpFinishSpan().
GcpSendingNewRequest() does several things that are useful when a server is about to send a request to a dependent service, by calling GcpContextSendingRequest().
GcpSendingRequest() does several things that are useful when a server is about to send a request to a dependent service, by calling GcpContextSendingRequest().
GcpSendingResponse() does several things that are useful when a server is about to send a response to a request it received.
En-/disables log levels for the named module.
Returns a map[string]string where the keys are all of the module names and the values are their enabled levels.
GetSpanPrefix() returns a string to be used as the prefix for the Display Name of trace spans.
Guts() returns a Lager object.
Info() returns a Lager object.
Init() en-/disables log levels.
Keys() provides keys to be used to write each JSON log line as a map (object or hash) instead of as a list (array).
Level() takes one letter from "PEFWNAITDOG" and returns a Lager object that either logs or doesn't, depending on whether the specified log level is enabled, incorporating any key/value pairs from the passed-in contexts.
lager.List() returns a slice (lager.AList) that can be passed as an argument to a Lager's [C][M]Map() or [C][M]List() method to construct nested data that can be quickly serialized to JSON.
lager.Map() returns a raw list of key/value pairs (lager.RawMap) that can be passed as an argument to a Lager's [C][M]Map() or [C][M]List() method to construct nested data that can be quickly serialized to JSON.
Create a new Module with the given name.
Note() returns a Lager object.
Obj() returns a Lager object.
lager.Pairs() returns a (processed) list of key/value pairs (lager.AMap) that can be added to a context.Context to specify additional data to append to each log line.
Panic() returns a Lager object that calls panic(), incorporating pairs from any contexts passed in.
RecoverPanicToExit is the func pointer that is returned by ExitViaPanic().
RequestUrl() returns a *url.URL more appropriate for logging, based on an *http.Request.
RunningInGcp() tells Lager to log messages in a format that works best when running inside of the Google Cloud Platform (when using GCP Cloud Logging).
S() converts an arbitrary value to a string.
SetLevelNotation() installs a function to map from Lager's level names (like "DEBUG") to other values to indicate log levels.
En-/disables log levels for the named module.
SetOutput() causes all future log lines to be written to the passed-in io.Writer.
SetPathParts() sets how many path components to include in the source code file names when recording caller information or a stack trace.
SetSpanPrefix() sets the span name prefix [see GetSpanPrefix()].
Trace() returns a Lager object.
Unless() is used to pass an optional label+value pair to Map().
Warn() returns a Lager object.