Skip to main content

Module logger

Module logger 

Source
Available on crate feature logger only.
Expand description

Default logger setup for Actix Cloud applications.

The output is normalized for readability:

  • Target: only keeps the first path before :: (e.g. project::module1::module2 => project).
  • Filename: only keeps the path starting from the last src (e.g. /a/b/src/c/d/main.rs => src/c/d/main.rs).

Functionsยง

start_logger
Start the default logger.