Crate wixet_bootstrap
source ·Expand description
This library just starts and configures a logger and provides a friendly shutdown process for tokio apps. Check init to see how to use it
Structs
- The shutdown context. It stores information about the signal handler task
Functions
- The main function. Call it as soon as possible in your program. It returns the context and the channel to listen the exit requests
- Configures the logger format. If outfile is none, no log file will be written