spdlog/tests/utils.h

16 lines
306 B
C
Raw Normal View History

#pragma once
2015-12-13 20:59:48 +08:00
#include <string>
#include<cstddef>
std::size_t count_lines(const std::string& filename);
void prepare_logdir();
2015-12-13 20:59:48 +08:00
std::string file_contents(const std::string& filename);
std::size_t count_lines(const std::string& filename);
std::ifstream::pos_type filesize(const std::string& filename);