#[non_exhaustive]pub struct VirtualGatewayFileAccessLog { /* private fields */ }
Expand description
An object that represents an access log file.
Implementations§
source§impl VirtualGatewayFileAccessLog
impl VirtualGatewayFileAccessLog
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The file path to write access logs to. You can use /dev/stdout
to send access logs to standard out and configure your Envoy container to use a log driver, such as awslogs
, to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.
sourcepub fn format(&self) -> Option<&LoggingFormat>
pub fn format(&self) -> Option<&LoggingFormat>
The specified format for the virtual gateway access logs. It can be either json_format
or text_format
.
source§impl VirtualGatewayFileAccessLog
impl VirtualGatewayFileAccessLog
sourcepub fn builder() -> VirtualGatewayFileAccessLogBuilder
pub fn builder() -> VirtualGatewayFileAccessLogBuilder
Creates a new builder-style object to manufacture VirtualGatewayFileAccessLog
.
Trait Implementations§
source§impl Clone for VirtualGatewayFileAccessLog
impl Clone for VirtualGatewayFileAccessLog
source§fn clone(&self) -> VirtualGatewayFileAccessLog
fn clone(&self) -> VirtualGatewayFileAccessLog
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VirtualGatewayFileAccessLog
impl Debug for VirtualGatewayFileAccessLog
source§impl PartialEq<VirtualGatewayFileAccessLog> for VirtualGatewayFileAccessLog
impl PartialEq<VirtualGatewayFileAccessLog> for VirtualGatewayFileAccessLog
source§fn eq(&self, other: &VirtualGatewayFileAccessLog) -> bool
fn eq(&self, other: &VirtualGatewayFileAccessLog) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualGatewayFileAccessLog
Auto Trait Implementations§
impl RefUnwindSafe for VirtualGatewayFileAccessLog
impl Send for VirtualGatewayFileAccessLog
impl Sync for VirtualGatewayFileAccessLog
impl Unpin for VirtualGatewayFileAccessLog
impl UnwindSafe for VirtualGatewayFileAccessLog
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more