Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RouterNatLogConfig

import type { RouterNatLogConfig } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Configuration of logging on a NAT.

interface RouterNatLogConfig {
enable?: boolean;
filter?: "ALL" | "ERRORS_ONLY" | "TRANSLATIONS_ONLY";
}

§Properties

§
enable?: boolean
[src]

Indicates whether or not to export logs. This is false by default.

§
filter?: "ALL" | "ERRORS_ONLY" | "TRANSLATIONS_ONLY"
[src]

Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections.

  • ALL: Export logs for all connections, successful and unsuccessful.