pub struct CloudLogging;Expand description
tracing_subscriber event formatter that emits one Cloud Logging-friendly
JSON object per line. See the crate-level docs for the output shape.
Trait Implementations§
Source§impl Clone for CloudLogging
impl Clone for CloudLogging
Source§fn clone(&self) -> CloudLogging
fn clone(&self) -> CloudLogging
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CloudLogging
Source§impl Debug for CloudLogging
impl Debug for CloudLogging
Source§impl Default for CloudLogging
impl Default for CloudLogging
Source§fn default() -> CloudLogging
fn default() -> CloudLogging
Returns the “default value” for a type. Read more
Source§impl<S, N> FormatEvent<S, N> for CloudLoggingwhere
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
impl<S, N> FormatEvent<S, N> for CloudLoggingwhere
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
Source§fn format_event(
&self,
_ctx: &FmtContext<'_, S, N>,
writer: Writer<'_>,
event: &Event<'_>,
) -> Result
fn format_event( &self, _ctx: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_>, ) -> Result
Write a log message for [
Event] in [FmtContext] to the given [Writer].Auto Trait Implementations§
impl Freeze for CloudLogging
impl RefUnwindSafe for CloudLogging
impl Send for CloudLogging
impl Sync for CloudLogging
impl Unpin for CloudLogging
impl UnsafeUnpin for CloudLogging
impl UnwindSafe for CloudLogging
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