Crate charlie_buffalo

Source

Structs§

Attribute
An attribute is a key-value data, where value is generic.
Flag
A Flag is an Attribute with a key, but with an empty value.
Log
An unique log.
Logger
A logger receive each Log.

Traits§

ValueAsString
This current value could be simplified as String.

Functions§

concurrent_logger_from
A simplifier to create a ConcurrentLogger without concurrent boilerplate.
new_dispatcher
A simplifier to create a Dispatcher without concurrent boilerplate.
new_dropper
A simplifier to create a Dropper without concurrent boilerplate.
push
A simplifier to send a log in a ConcurrentLogger without concurrent boilerplate.

Type Aliases§

Attr
A short-hand for Attribute
ConcurrentLogger
This is a wrapped logger that is safe to use in concurrency context.
Dispatcher
A dispatcher is a function (or closure) called on each log received.
Dropper
A function (or closure) called when logger is freed from memory.