Remove useless code
Add the critical log level macros
Add the default io behaviour on the io feature