25 # include <type_traits> 26 # include <nanolog/nanolog.h> 30 constexpr
static bool debug =
false;
32 constexpr
static bool debug =
true;
36 using stream = nanolog::NanoLogLine;
39 using Level = nanolog::LogLevel;
44 void setLevel(Level lvl);
60 void init(std::string
const &file_path, uint32_t
const roll_MB = 128);
74 static std::mutex io_lock;
82 inline std::stringstream &operator<<(T
const &data) {
thread safe print in std::cout
Definition: io.h:73