spdlog/tests/utils.h

16 lines
298 B
C
Raw Normal View History

#pragma once
2015-12-13 07:59:48 -05:00
#include <string>
#include<cstddef>
std::size_t count_lines(const std::string& filename);
void prepare_logdir();
2015-12-13 07:59:48 -05:00
std::string file_contents(const std::string& filename);
std::size_t count_lines(const std::string& filename);
2015-12-13 08:13:16 -05:00
std::size_t get_filesize(const std::string& filename);
2015-12-13 07:59:48 -05:00