[][src]Module fastly::log

Interface to Fastly's Real-Time Log Streaming endpoints.

To write to an Endpoint, you can use any interface that works with std::io::Write, including write!() and writeln!().

Each write to the endpoint emits a single log line, so any newlines that are present in the message are escaped to the character sequence "\n".

Structs

Endpoint

A Fastly logging endpoint.

Enums

LogError

Logging-related errors.

Functions

set_panic_endpoint

Set the logging endpoint where the message from Rust panics will be written.