pub struct ServerLogListBuilder<C> { /* private fields */ }Expand description
Builder for the server_logs method.
Implementations§
Source§impl<C> ServerLogListBuilder<C>
impl<C> ServerLogListBuilder<C>
Sourcepub fn as_request(&self) -> &Request
pub fn as_request(&self) -> &Request
Gets the request object for reuse.
Sourcepub fn level(&mut self, level: LogLevel) -> &mut Self
pub fn level(&mut self, level: LogLevel) -> &mut Self
Limits the level of logs to be listed to the specified one.
Sourcepub fn error(&mut self) -> &mut Self
pub fn error(&mut self) -> &mut Self
Limits the listed logs to errors.
This is equivalent to .level(LogLevel::Error).
Sourcepub fn warning(&mut self) -> &mut Self
pub fn warning(&mut self) -> &mut Self
Limits the listed logs to warnings.
This is equivalent to .level(LogLevel::Warning).
Sourcepub fn info(&mut self) -> &mut Self
pub fn info(&mut self) -> &mut Self
Limits the listed logs to informations.
This is equivalent to .level(LogLevel::Info).
Sourcepub fn success(&mut self) -> &mut Self
pub fn success(&mut self) -> &mut Self
Limits the listed logs to successes.
This is equivalent to .level(LogLevel::Success).
Sourcepub fn debug(&mut self) -> &mut Self
pub fn debug(&mut self) -> &mut Self
Limits the listed logs to debug logs.
This is equivalent to .level(LogLevel::Debug).
Sourcepub fn with_domain(&mut self, domain: impl AsRef<str>) -> &mut Self
pub fn with_domain(&mut self, domain: impl AsRef<str>) -> &mut Self
Adds a domain name to be included in the listed logs.
You can add more domains to be included with subsequent calls to this method.
Sourcepub fn without_domain(&mut self, domain: impl AsRef<str>) -> &mut Self
pub fn without_domain(&mut self, domain: impl AsRef<str>) -> &mut Self
Adds a domain name to be excluded from the listed logs.
You can add more domains to be excluded with subsequent calls to this method.