Structs§
- Attribute
- An attribute is a key-value data, where value is generic.
- Flag
- A
Flag
is anAttribute
with a key, but with an emptyvalue
. - Log
- An unique log.
- Logger
- A logger receive each
Log
.
Traits§
- Value
AsString - 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
- Concurrent
Logger - 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.