Module fastly::log

source · []
Expand description

Low-level interface to Fastly’s Real-Time Log Streaming endpoints.

Most applications should use the high-level interface provided by log-fastly, which includes management of log levels and easier formatting.

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

A Fastly logging endpoint.

Enums

Logging-related errors.

Functions

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