diff --git a/pdk/1.2/modules/ROOT/pages/policies-pdk-configure-features-logging.adoc b/pdk/1.2/modules/ROOT/pages/policies-pdk-configure-features-logging.adoc index aac846e75..3c1684802 100644 --- a/pdk/1.2/modules/ROOT/pages/policies-pdk-configure-features-logging.adoc +++ b/pdk/1.2/modules/ROOT/pages/policies-pdk-configure-features-logging.adoc @@ -25,7 +25,7 @@ let value = "there!"; logger::debug!("Hello there!"); logger::info!("Hello {}", value); logger::warn!("Hello {value}"); -logger::error!("Hello {}", "there!"); into_headers_state().await +logger::error!("Hello {}", "there!"); ---- All examples appear in the Flex Gateway logs in the following format: @@ -33,4 +33,4 @@ All examples appear in the Flex Gateway logs in the following format: [flex-gateway-envoy][] wasm log . main: [policy: ][api: ][req: ] Hello there! ---- -For more information about viewing Flex Gateway logs, see xref:gateway::flex-gateway-monitor.adoc[]. \ No newline at end of file +For more information about viewing Flex Gateway logs, see xref:gateway::flex-gateway-monitor.adoc[].