| 1234567891011121314151617181920 |
- //
- // common.hpp
- // logging
- //
- // Created by Sam Jaffe on 4/1/19.
- //
- #pragma once
- #include <string>
- #include <sys/time.h>
- 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);
- }
|