Options
All
  • Public
  • Public/Protected
  • All
Menu

Endpoint for logging through Fastly. Compute@Edge also supports logging through standard out. However, using a Logging Endpoint is the reccomended way for logging on the platform.

Hierarchy

  • LogEndpoint

Index

Constructors

Methods

Constructors

constructor

  • Constructor for a logging endpoint.

    Parameters

    • endpointName: string

      Name of the endpoint that should be logged to.

    Returns LogEndpoint

Methods

getEndpointName

  • getEndpointName(): string
  • Get the name of the LogEndpoint instance.

    Returns string

    The name of the endpoint.

log

  • log(message: string): void
  • Log a message to the endpoint.

    Parameters

    • message: string

      The message string that should be sent to the endpoint.

    Returns void

Legend

  • Constructor
  • Method

Generated using TypeDoc