Open the-moisrex opened 2 months ago
template <Logger LoggerT> struct debounded_logger;
debounced_logger<file_logger> logger; logger.info("breaked"); logger.info("breaked"); logger.info("breaked"); // in idle mode, this will be called: logger.commit(); // this saves the logs.