pub enum LoggingDriver {
Local,
JsonFile,
Syslog,
Journald,
Gelf,
Fluentd,
Awslogs,
Splunk,
Etwlogs,
Gcplogs,
}Expand description
A logging driver for Docker.
Variants§
Local
Logs are stored in a custom format designed for minimal overhead.
JsonFile
The logs are formatted as JSON. The default logging driver for Docker.
Syslog
Writes logging messages to the syslog facility. The syslog daemon must be running on the host machine.
Journald
Writes log messages to journald. The journald daemon must be running on the host machine.
Gelf
Writes log messages to a Graylog Extended Log Format (GELF) endpoint such as Graylog or Logstash.
Fluentd
Writes log messages to fluentd (forward input). The fluentd daemon must be running on the host machine.
Awslogs
Writes log messages to Amazon CloudWatch Logs.
Splunk
Writes log messages to splunk using the HTTP Event Collector.
Etwlogs
Writes log messages as Event Tracing for Windows (ETW) events. Only available on Windows platforms.
Gcplogs
Writes log messages to Google Cloud Platform (GCP) Logging.
Trait Implementations§
Source§impl Clone for LoggingDriver
impl Clone for LoggingDriver
Source§fn clone(&self) -> LoggingDriver
fn clone(&self) -> LoggingDriver
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LoggingDriver
impl Debug for LoggingDriver
Source§impl<'de> Deserialize<'de> for LoggingDriver
impl<'de> Deserialize<'de> for LoggingDriver
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for LoggingDriver
impl PartialEq for LoggingDriver
Source§impl Serialize for LoggingDriver
impl Serialize for LoggingDriver
impl Eq for LoggingDriver
impl StructuralPartialEq for LoggingDriver
Auto Trait Implementations§
impl Freeze for LoggingDriver
impl RefUnwindSafe for LoggingDriver
impl Send for LoggingDriver
impl Sync for LoggingDriver
impl Unpin for LoggingDriver
impl UnsafeUnpin for LoggingDriver
impl UnwindSafe for LoggingDriver
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.