Module log

Source
Expand description

Log module provides special log marcos for end-to-end logging and ability to change default tarantool-logger templates (using tarolog lib).

Re-exports§

pub use log as rs_log;

Macros§

debug
error
info
warn

Enums§

Format
Format is a callback that using by tarantool logger for format all log records.

Traits§

RequestIdOwner

Functions§

set_default_logger_format
Set a new formation function to a default tarantool logger.

Type Aliases§

JsonInjector
Injector is a function that provides additional information to the log records (e.g. instance-id, request-id).
PlainInjector
Injector is a function that provides additional information to the log records (e.g. instance-id, request-id).