AccessLogger

com.netflix.atlas.pekko.AccessLogger
See theAccessLogger companion class
object AccessLogger

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def newClientLogger(name: String, request: HttpRequest): AccessLogger

Create a new logger for a named client.

Create a new logger for a named client.

Value parameters

name

Used to identify a particular client in the log entry. This will typically be the name of the service it is talking to.

request

Request that is being sent to the service.

Attributes

Returns

Logger for the request with the start time marked.

Create a new logger for a server. This will use a default entry.

Create a new logger for a server. This will use a default entry.

Attributes

def newServerLogger(entry: IpcLogEntry): AccessLogger

Create a new logger for a server based on the provided entry.

Create a new logger for a server based on the provided entry.

Value parameters

entry

Entry with additional information that can be extracted from the environment such as the remote ip address.

Attributes

Returns

Logger for the request with the start time marked.