spdlog/tests/utils.h

16 lines
313 B
C
Raw Normal View History

2016-04-03 07:14:54 +08:00
#pragma once
#include <string>
#include<cstddef>
std::size_t count_lines(const std::string& filename);
void prepare_logdir();
std::string file_contents(const std::string& filename);
std::size_t count_lines(const std::string& filename);
std::size_t get_filesize(const std::string& filename);