refactored LoggerManager