// // common.hpp // logging // // Created by Sam Jaffe on 4/1/19. // #pragma once #include #include namespace logging { enum class level : int; timeval now(); level level_from_string(std::string const & value); char const * level_to_string(level lvl); std::string to_string(level lvl, bool uppercase); }