Crate carboncopy[][src]

Structs

Entry

Represents a single log entry.

Logger

Takes entries and filter/submit them to the provided backend implementation.

TagValidationError
Tags

A sequence of validated strings used to label log entries. The characters of each tag may only be alpha-numeric, hyphen (-), or underscore (_).

Enums

Level

An enum used to specify the severity level of a log message. Several examples of corresponding scenarios will be provided for each enum variant. The examples are only to be used as a guide and not a hard rule.

SinkAcknowledgment

The acknowledgment returned from logging entries. Refer to the Sink trait documentation for further details.

SinkMode

The mode with which an entry is to be submitted into the provided sink. Refer to the Sink trait documentation for further details.

Traits

Sink

A trait to be implemented by an external crate whose job is to take an entry (already stringified) and append it to the storage that holds previous log entries.

Type Definitions

BoxFuture

An owned dynamically typed Future for use in cases where you can’t statically type your result or need to add some indirection.